MCPcopy Create free account
hub / github.com/antirez/ds4 / agent_set_error

Function agent_set_error

ds4_agent.c:1129–1137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1127 "<|DSML|tool_calls>\n"
1128 "<|DSML|invoke name=\"$TOOL_NAME\">\n"
1129 "<|DSML|parameter name=\"$PARAMETER_NAME\" string=\"true|false\">$PARAMETER_VALUE</|DSML|parameter>\n"
1130 "</|DSML|invoke>\n"
1131 "</|DSML|tool_calls>\n";
1132
1133static const char agent_glm_syntax_reminder[] =
1134 "GLM tool-call syntax reminder:\n"
1135 "<tool_call>$TOOL_NAME<arg_key>$PARAMETER_NAME</arg_key>"
1136 "<arg_value>$PARAMETER_VALUE</arg_value></tool_call>\n";
1137
1138#define AGENT_SYSTEM_PROMPT_REMINDER_TOKENS 50000
1139
1140static char *agent_build_system_prompt_reminder(ds4_engine *engine,

Callers 3

worker_run_turnFunction · 0.85
worker_mainFunction · 0.85

Calls 1

agent_wake_lockedFunction · 0.85

Tested by

no test coverage detected