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

Function request_init

ds4_server.c:760–771  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

758 tool_replay_stats *stats);
759static bool tool_memory_has_id(server *s, const char *id);
760static void kv_cache_restore_tool_memory_for_messages(server *s, const chat_msgs *msgs);
761
762typedef struct {
763 char **v;
764 int len;
765 int cap;
766 size_t max_len;
767} stop_list;
768
769static void stop_list_clear(stop_list *stops);
770static bool id_list_contains(const stop_list *ids, const char *id);
771static void id_list_push_unique(stop_list *ids, const char *id);
772static void id_list_free(stop_list *ids);
773static bool responses_live_has_call_id(server *s, const char *id);
774static bool anthropic_live_has_call_id(server *s, const char *id);

Calls 1

xstrdupFunction · 0.70