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

Function worker_request_compact

ds4_agent.c:7965–7971  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7963 agent_dsml_feed(&p, text, strlen(text));
7964
7965 AGENT_TEST_ASSERT(p.state == AGENT_DSML_ERROR);
7966 AGENT_TEST_ASSERT(strstr(p.error, "expected <arg_value>") != NULL);
7967
7968 agent_dsml_parser_free(&p);
7969}
7970
7971static void test_agent_edit_upto_prompt_is_opt_in(void) {
7972 char *dsml_default = agent_build_dsml_tools_prompt(false, false);
7973 char *dsml_upto = agent_build_dsml_tools_prompt(true, false);
7974 char *glm_default = agent_build_glm_tools_prompt(false, false);

Callers 1

run_agentFunction · 0.85

Calls 1

agent_wake_lockedFunction · 0.85

Tested by

no test coverage detected