Skip to content

Commit 59648f3

Browse files
Update src/seclab_taskflow_agent/capi.py
Co-authored-by: Copilot <[email protected]>
1 parent 20dbc92 commit 59648f3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/seclab_taskflow_agent/capi.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,10 @@ def supports_tool_calls(model: str, models: dict) -> bool:
101101
return 'tool-calling' in models.get(model, {}).\
102102
get('capabilities', [])
103103
case _:
104-
raise ValueError(f"Unsupported Model Endpoint: {api_endpoint}\n"
105-
f"Supported endpoints: {[e.to_url() for e in AI_API_ENDPOINT_ENUM]}")
104+
raise ValueError(
105+
f"Unsupported Model Endpoint: {api_endpoint}\n"
106+
f"Supported endpoints: {[e.to_url() for e in AI_API_ENDPOINT_ENUM]}"
107+
)
106108

107109
def list_tool_call_models(token: str) -> dict[str, dict]:
108110
models = list_capi_models(token)

0 commit comments

Comments
 (0)