feat: remove OpenCode assistant mode
This commit is contained in:
@@ -53,7 +53,7 @@ async def _agent_resource_for(
|
||||
assistant_id: str,
|
||||
interface_type: str,
|
||||
) -> ModelResource | None:
|
||||
if interface_type not in {"dify", "fastgpt", "opencode"}:
|
||||
if interface_type not in {"dify", "fastgpt"}:
|
||||
return None
|
||||
binding = await session.get(AssistantModelBinding, (assistant_id, "Agent"))
|
||||
resource_id = binding.model_resource_id if binding else None
|
||||
|
||||
Reference in New Issue
Block a user