Replies: 2 comments 3 replies
-
Yes, as stated in the .editorconfig, tabs are indentation of choice. Also, the Async suffix is deviding the developers. I don't think it's useful except there are sync overloads of a method too. There is no combination of sync and async methods in OllamaSharp, that's why I kept it clean without the Async suffix. |
Beta Was this translation helpful? Give feedback.
3 replies
-
I have been in touch with Microsoft regarding #112 which will lead to breaking changes and a version bump to 4.0. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I checked out the repo and noticed that indentation uses tabs, and async methods are missing the usual "Async" suffix. These lead to code style error IDE0055 and warning VSTHRD200.
While these can be ignored or disabled, I was curious if this was an intentional choice.
The tab usage can be an inconvenience for contributors whose IDEs are set to use spaces, though there are tools to handle this automatically.
However, the absence of the
Async
suffix (e.g. inChat.SendAs
) is more noticeable for users of the library, potentially causing confusion when determining whether to useawait
with method calls.Would you consider addressing these in the next major release?
Beta Was this translation helpful? Give feedback.
All reactions