Skip to content

Commit

Permalink
arbitrary types
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-danswer committed Feb 13, 2025
1 parent a48e442 commit 877182d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/onyx/tools/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ class SearchToolOverrideKwargs(BaseModel):
retrieved_sections_callback: Callable[[list[InferenceSection]], None] | None
skip_query_analysis: bool

class Config:
arbitrary_types_allowed = True


CHAT_SESSION_ID_PLACEHOLDER = "CHAT_SESSION_ID"
MESSAGE_ID_PLACEHOLDER = "MESSAGE_ID"

0 comments on commit 877182d

Please sign in to comment.