mirror of
https://github.com/hoshikawa2/compass_backoffice.git
synced 2026-07-09 13:54:20 +00:00
bugfixes
This commit is contained in:
@@ -94,7 +94,7 @@ class BackofficeAgent(AgentRuntimeMixin):
|
||||
"BACKOFFICE_TICKET_CONTEXT_DETECTED",
|
||||
normalized_state,
|
||||
{
|
||||
"status": "Contexto de ticket detectado; execução checklist deve ocorrer pelo BackofficeNativeRuntime nas rotas /agent/*",
|
||||
"status": "Contexto de ticket detectado; execução operacional deve entrar como canal backoffice_rest via ChannelGateway/dispatcher",
|
||||
"framework_native": True,
|
||||
"reason": "o agente conversacional não compila nem executa grafos de domínio",
|
||||
},
|
||||
@@ -383,14 +383,14 @@ class BackofficeAgent(AgentRuntimeMixin):
|
||||
|
||||
A migração framework-native não permite que o agente conversacional
|
||||
compile/execute ``src.agent.graphs`` diretamente. Os fluxos checklist e
|
||||
response emulator são executados pelo BackofficeNativeRuntime chamado
|
||||
pelas rotas/adapters do backend.
|
||||
response emulator são executados pelo dispatcher de workflows após
|
||||
normalização pelo canal backoffice_rest/ChannelGateway.
|
||||
"""
|
||||
return {
|
||||
"executed": False,
|
||||
"error": {
|
||||
"type": "DeprecatedDirectGraphExecution",
|
||||
"message": "Use BackofficeNativeRuntime.execute_workflow('backoffice_checklist')",
|
||||
"message": "Use BackofficeRestChannelAdapter + BackofficeWorkflowDispatcher",
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user