File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
tests/integrations/langchain Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -157,6 +157,7 @@ def test_langchain_agent(
157157 llm = MockOpenAI (
158158 model_name = "gpt-3.5-turbo" ,
159159 temperature = 0 ,
160+ openai_api_key = "badkey" ,
160161 )
161162 agent = create_openai_tools_agent (llm , [get_word_length ], prompt )
162163
@@ -230,6 +231,7 @@ def test_langchain_error(sentry_init, capture_events):
230231 llm = MockOpenAI (
231232 model_name = "gpt-3.5-turbo" ,
232233 temperature = 0 ,
234+ openai_api_key = "badkey" ,
233235 )
234236 agent = create_openai_tools_agent (llm , [get_word_length ], prompt )
235237
@@ -324,6 +326,7 @@ def test_span_origin(sentry_init, capture_events):
324326 llm = MockOpenAI (
325327 model_name = "gpt-3.5-turbo" ,
326328 temperature = 0 ,
329+ openai_api_key = "badkey" ,
327330 )
328331 agent = create_openai_tools_agent (llm , [get_word_length ], prompt )
329332
You can’t perform that action at this time.
0 commit comments