Skip to content

Commit c90e431

Browse files
committed
fix: Pass fake api_key to the internal ai model
1 parent e8e3379 commit c90e431

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/ai_test_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ async def _buildInternalAIModel(
8585
return OpenAIModel(
8686
model=model,
8787
base_url=f"{base_url}/{model}",
88-
api_key="", # unused
88+
api_key="test-api-key", # unused
8989
extra_body={"user": f'{{"appkey":"{app_key}"}}'},
9090
httpx_client=httpx.AsyncClient(auth=auth_handler),
9191
temperature=0.0,

0 commit comments

Comments
 (0)