mirror of
https://github.com/amithkoujalgi/ollama4j.git
synced 2025-11-07 20:10:42 +01:00
- Addresses #231 - Updated Ollama class and related methods to replace boolean "think" with ThinkMode enum for better clarity and control over thinking levels. - Modified MetricsRecorder to accept ThinkMode instead of boolean for metrics recording. - Adjusted OllamaChatRequest and OllamaGenerateRequest to utilize ThinkMode, including serialization support. - Updated integration and unit tests to reflect changes in the "think" parameter handling. - Introduced ThinkMode and ThinkModeSerializer classes to manage the new thinking parameter structure.