GitHub Copilot commited on
Commit
0d4bde3
·
1 Parent(s): 2f7a706

Protocol 22: Fix IndentationError in connectors.py

Browse files
Files changed (1) hide show
  1. logos/connectors.py +1 -0
logos/connectors.py CHANGED
@@ -246,6 +246,7 @@ class DolphinAgentConnector:
246
 
247
  # Using basic text generation if chat template fails, but try chat first
248
  # Many HF models support chat_completion API via InferenceClient
 
249
  response = client.chat_completion(
250
  messages=messages,
251
  model=self.model,
 
246
 
247
  # Using basic text generation if chat template fails, but try chat first
248
  # Many HF models support chat_completion API via InferenceClient
249
+ try:
250
  response = client.chat_completion(
251
  messages=messages,
252
  model=self.model,