We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 794f19c commit 26f33ceCopy full SHA for 26f33ce
src/seclab_taskflow_agent/agent.py
@@ -41,10 +41,7 @@
41
case AI_API_ENDPOINT_ENUM.AI_API_OPENAI:
42
default_model = "gpt-4o"
43
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
- )
+ default_model = "please-set-default-model-via-env"
48
49
DEFAULT_MODEL = os.getenv("COPILOT_DEFAULT_MODEL", default=default_model)
50
0 commit comments