Commit 1db2556
authored
Merge pull request #189 from veithly/fix/openai-provider
Implement token management for OpenAI models by introducing methods to handle max_tokens and max_completion_tokens. Refactor API request construction to streamline parameter handling, ensuring compatibility with both older and newer model versions. Enhance readability and maintainability of the code.File tree
6 files changed
+2939
-1254
lines changed- doc
- examples
- agent
- spoon_ai
- agents
- llm/providers
6 files changed
+2939
-1254
lines changed
0 commit comments