mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-13 08:15:21 +02:00
fix: use system role for user-idle prompt injections
The UserIdleHandler injected its "are you still there?" and disconnect prompts as role="user" messages. These are agent-side directives, not user utterances, so they should be injected as role="system" to avoid polluting the conversation transcript with fake user turns and to read correctly by the LLM. Updated the realtime append tests to match. Also forward ports 3000 (UI) and 8000 (API) in the devcontainer so the running services are reachable from the host. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
97d7103480
commit
b5a192557b
3 changed files with 7 additions and 5 deletions
|
|
@ -24,6 +24,8 @@
|
|||
"postCreateCommand": "bash .devcontainer/scripts/post-create.sh",
|
||||
"postStartCommand": "bash .devcontainer/scripts/post-start.sh",
|
||||
"forwardPorts": [
|
||||
3000,
|
||||
8000,
|
||||
5432,
|
||||
6379,
|
||||
9000,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue