Skip to content

Commit

Permalink
fix: exclude messages from options
Browse files Browse the repository at this point in the history
  • Loading branch information
CNSeniorious000 committed Dec 8, 2024
1 parent ad07c50 commit bcc7dcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class ChatInput(ChainInput):

@property
def config(self):
return self.model_dump(exclude_unset=True)
return self.model_dump(exclude_unset=True, exclude={"messages"})


@openai_router.post("/chat/completions")
Expand Down

0 comments on commit bcc7dcc

Please sign in to comment.