Skip to content

Commit 0862138

Browse files
Merge branch 'main' into dependabot/pip/ujson-5.12.0
2 parents ec4d435 + 363bfed commit 0862138

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/seclab_taskflow_agent/agent.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,7 @@
4141
case AI_API_ENDPOINT_ENUM.AI_API_OPENAI:
4242
default_model = "gpt-4o"
4343
case _:
44-
raise ValueError(
45-
f"Unsupported Model Endpoint: {api_endpoint}\n"
46-
f"Supported endpoints: {[e.to_url() for e in AI_API_ENDPOINT_ENUM]}"
47-
)
44+
default_model = "please-set-default-model-via-env"
4845

4946
DEFAULT_MODEL = os.getenv("COPILOT_DEFAULT_MODEL", default=default_model)
5047

0 commit comments

Comments
 (0)