Skip to content

Commit f12c02f

Browse files
Fix code scanning note
1 parent 5ae974b commit f12c02f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/seclab_taskflow_agent/capi.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ def to_url(self):
2323
return f"https://{self}"
2424
case AI_API_ENDPOINT_ENUM.AI_API_MODELS_GITHUB:
2525
return f"https://{self}/inference"
26+
case _:
27+
raise ValueError(f"Unsupported endpoint: {self}")
2628

2729
COPILOT_INTEGRATION_ID = 'vscode-chat'
2830

0 commit comments

Comments
 (0)