feat: refine admin shell and model fallback
This commit is contained in:
@@ -241,8 +241,6 @@ class AgentService:
|
||||
if not model:
|
||||
return None
|
||||
|
||||
agent.model_id = model.id
|
||||
await self._db.flush()
|
||||
logger.info(
|
||||
"Agent %s has no active model, fallback to default chat model %s",
|
||||
getattr(agent, "code", agent.id),
|
||||
|
||||
Reference in New Issue
Block a user