Skip to content

Conversation

mvawork
Copy link

@mvawork mvawork commented Aug 25, 2025

This update introduces the 'think' option, allowing users to dictate whether the model deliberates before responding.

Key modifications:

  • Incorporated the think field into the OllamaOptions.
  • Developed the necessary logic to process this new setting.

This addition enriches the OllamaChatModel, offering greater command over the model's operations, which will be particularly beneficial for sophisticated applications.

@sunyuhan1998
Copy link
Contributor

Thank you for your contribution! However, it appears this is a duplicate PR, as this improvement is already being worked on in #3386.

@mvawork
Copy link
Author

mvawork commented Aug 26, 2025

I'll wait for the feature to be implemented. For now, I'll use my workaround.

@mvawork mvawork closed this Aug 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants