mirror of
https://github.com/langgenius/dify.git
synced 2026-05-30 05:37:48 +08:00
Allow AppMode.AGENT through the web and service-API chat-message (and stop) mode gates so Agent Apps are reachable over /v1/chat-messages and the web app, routing to AgentAppGenerator like the console debug path. The web / service-API chat payloads carry no override model_config, so no payload change is needed there — model + prompt come from the bound Agent Soul. Live-verified: /v1/chat-messages with an app token streams a Soul-backed answer end-to-end through the real agent backend. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>