mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-10-09 12:47:13 +02:00
nit
This commit is contained in:
@@ -102,7 +102,7 @@ class Answer:
|
|||||||
using_tool_calling_llm = explicit_tool_calling_supported(
|
using_tool_calling_llm = explicit_tool_calling_supported(
|
||||||
llm.config.model_provider, llm.config.model_name
|
llm.config.model_provider, llm.config.model_name
|
||||||
)
|
)
|
||||||
agent_search_config = AgentSearchConfig(
|
self.agent_search_config = AgentSearchConfig(
|
||||||
search_request=search_request,
|
search_request=search_request,
|
||||||
primary_llm=llm,
|
primary_llm=llm,
|
||||||
fast_llm=fast_llm,
|
fast_llm=fast_llm,
|
||||||
@@ -121,7 +121,6 @@ class Answer:
|
|||||||
structured_response_format=answer_style_config.structured_response_format,
|
structured_response_format=answer_style_config.structured_response_format,
|
||||||
skip_gen_ai_answer_generation=skip_gen_ai_answer_generation,
|
skip_gen_ai_answer_generation=skip_gen_ai_answer_generation,
|
||||||
)
|
)
|
||||||
self.agent_search_config = agent_search_config
|
|
||||||
self.db_session = db_session
|
self.db_session = db_session
|
||||||
|
|
||||||
def _get_tools_list(self) -> list[Tool]:
|
def _get_tools_list(self) -> list[Tool]:
|
||||||
|
Reference in New Issue
Block a user