File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 7777 "name" : "LLM_MODEL_STRATEGIC" ,
7878 "description" : "Strategic model to use from the specified OpenAI-compatible API." ,
7979 },
80- {"name" : "EMBEDDING_MODEL" , "description" : "Embedding model to use (see GPT Researcher docs for details)" },
80+ {
81+ "name" : "GPT_RESEARCHER_EMBEDDING_MODEL" ,
82+ "description" : "Embedding model to use (see GPT Researcher docs for details)"
83+ },
8184 ],
8285 )
8386)
@@ -95,7 +98,7 @@ async def gpt_researcher(input: list[Message], context: Context) -> None:
9598 os .environ ["SMART_LLM" ] = f"openai:{ os .getenv ('LLM_MODEL_SMART' , model )} "
9699 os .environ ["STRATEGIC_LLM" ] = f"openai:{ os .getenv ('LLM_MODEL_STRATEGIC' , model )} "
97100
98- embedding_model = os .getenv ("EMBEDDING_MODEL " )
101+ embedding_model = os .getenv ("GPT_RESEARCHER_EMBEDDING_MODEL " )
99102 if embedding_model :
100103 os .environ ["EMBEDDING" ] = embedding_model
101104
You can’t perform that action at this time.
0 commit comments