- Switch to deepseek-reasoner model for improved analysis
- Add Chain of Thought (CoT) reasoning capabilities
- Update types to support reasoning_content in responses
- Update second-opinion tool to showcase CoT reasoning
- Add max_tokens configuration for response length control
- Update documentation and examples
The deepseek-reasoner model provides step-by-step reasoning before
generating final responses, improving the quality and transparency
of the analysis. The reasoning is now exposed in tool responses
under the 'reasoning' field.
- Switch to OpenAI SDK for Deepseek API calls
- Add openai package dependency
- Update configuration for Deepseek API
- Update environment variable examples
- Improve error handling for API responses
This change improves reliability and maintainability by using the official SDK
with proper typing and error handling.