Skip to content

Commit 1db2556

Browse files
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.
2 parents f179e81 + 98382de commit 1db2556

File tree

6 files changed

+2939
-1254
lines changed

6 files changed

+2939
-1254
lines changed

0 commit comments

Comments
 (0)