We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20bc10f commit 6a7ee0cCopy full SHA for 6a7ee0c
interpreter_1/interpreter.py
@@ -230,7 +230,9 @@ async def async_respond(self):
230
231
edit = ToolRenderer()
232
233
- if self.provider == "anthropic":
+ if (
234
+ self.provider == "anthropic" and not self.serve
235
+ ): # Server can't handle Anthropic yet
236
if self._client is None:
237
if self.api_key:
238
self._client = Anthropic(api_key=self.api_key)
@@ -466,6 +468,12 @@ async def async_respond(self):
466
468
},
467
469
}
470
)
471
+ if "editor" in self.tools:
472
+ # print("Editor is not supported for non-Anthropic models.")
473
+ pass
474
+ if "gui" in self.tools:
475
+ # print("GUI is not supported for non-Anthropic models.")
476
477
478
if self.model.startswith("ollama/"):
479
# Fix ollama
0 commit comments