mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-10-10 13:15:18 +02:00
Fix black
This commit is contained in:
@@ -6,7 +6,13 @@ from danswer.llm.utils import get_default_llm_tokenizer
|
|||||||
from danswer.tools.tool import Tool
|
from danswer.tools.tool import Tool
|
||||||
|
|
||||||
|
|
||||||
OPEN_AI_TOOL_CALLING_MODELS = {"gpt-3.5-turbo", "gpt-4-turbo", "gpt-4", "gpt-4o", "gpt-4o-mini"}
|
OPEN_AI_TOOL_CALLING_MODELS = {
|
||||||
|
"gpt-3.5-turbo",
|
||||||
|
"gpt-4-turbo",
|
||||||
|
"gpt-4",
|
||||||
|
"gpt-4o",
|
||||||
|
"gpt-4o-mini",
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
def explicit_tool_calling_supported(model_provider: str, model_name: str) -> bool:
|
def explicit_tool_calling_supported(model_provider: str, model_name: str) -> bool:
|
||||||
|
Reference in New Issue
Block a user