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

Function append_model_json

ds4_server.c:11209–11215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11207 const ds4_tokens *exact_prefix,
11208 const char *suffix_text,
11209 ds4_tokens *out)
11210{
11211 ds4_kvstore_build_prompt_from_exact_prefix_and_text_suffix(
11212 engine, exact_prefix, suffix_text, out);
11213}
11214
11215static int kv_cache_store_len(const kv_disk_cache *kc, int tokens) {
11216 return ds4_kvstore_store_len(kc, tokens);
11217}
11218

Callers 2

send_modelFunction · 0.85
send_modelsFunction · 0.85

Calls 3

append_model_json_valuesFunction · 0.85
ds4_engine_model_nameFunction · 0.85
ds4_session_ctxFunction · 0.85

Tested by

no test coverage detected