mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-08-04 14:12:48 +02:00
add user files (#4152)
This commit is contained in:
@@ -12,6 +12,7 @@ class ForceUseTool(BaseModel):
|
||||
force_use: bool
|
||||
tool_name: str
|
||||
args: dict[str, Any] | None = None
|
||||
override_kwargs: Any = None # This will hold tool-specific override kwargs
|
||||
|
||||
def build_openai_tool_choice_dict(self) -> dict[str, Any]:
|
||||
"""Build dict in the format that OpenAI expects which tells them to use this tool."""
|
||||
|
Reference in New Issue
Block a user