generated from konveyor-ecosystem/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding override for invoke_llm to ChatOpenAI to catch param conversion
* If we get a bad request error that is about max_completion_tokens, then we will monkey patch ChatOpenAI to prevent the automatic conversion of max_tokens to max_completion_tokens Signed-off-by: Shawn Hurley <[email protected]>
- Loading branch information
1 parent
74b4682
commit 5db5080
Showing
1 changed file
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters