MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / chat.mjs

File chat.mjs

subprojects/llama.cpp/tools/server/chat.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import * as readline from 'node:readline'
2import { stdin, stdout } from 'node:process'
3import { readFileSync } from 'node:fs'
4import { SchemaConverter } from './public_legacy/json-schema-to-grammar.mjs'

Callers

nothing calls this directly

Calls 12

tokenizeFunction · 0.85
readlineQuestionFunction · 0.85
chat_completionFunction · 0.85
sliceMethod · 0.80
resolveRefsMethod · 0.80
formatGrammarMethod · 0.80
findMethod · 0.65
splitMethod · 0.65
parseMethod · 0.65
visitMethod · 0.65
reduceMethod · 0.45
createInterfaceMethod · 0.45

Tested by

no test coverage detected