File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11# Restack API key for the llm call
2- RESTACK_API_KEY=<your_restack_api_key >
2+ OPENAI_API_KEY=<your_openai_api_key >
Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ async def llm_chat(function_input: LlmChatInput) -> ChatCompletion:
4040 try :
4141 log .info ("llm_chat function started" , function_input = function_input )
4242
43- if os .environ .get ("RESTACK_API_KEY " ) is None :
44- raise_exception ("RESTACK_API_KEY is not set" )
43+ if os .environ .get ("OPENAI_API_KEY " ) is None :
44+ raise_exception ("OPENAI_API_KEY is not set" )
4545
4646 client = OpenAI (api_key = os .environ .get ("OPENAI_API_KEY" ))
4747
Original file line number Diff line number Diff line change 11# Restack API key for the llm call
2- RESTACK_API_KEY=<your_restack_api_key >
2+ OPENAI_API_KEY=<your_openai_api_key >
You can’t perform that action at this time.
0 commit comments