fixes tool callong

This commit is contained in:
valenti
2026-10-21 10:44:49 +01:00
parent 79f927d968
commit 1cafe3dd3c
14 changed files with 2308 additions and 61 deletions
+4
View File
@@ -317,6 +317,10 @@ LLM_STREAM_CHUNK_CHARS=240
# `<tool_call>` format: the engine parses it client-side, executes the HTTP
# request and hands the result back to the model (see src/tools.rs). The
# tool-call block is never spoken nor shown in the chat box.
# Runtime override without a restart: POST /api/tools with the same JSON array
# (GET /api/tools reports the active set and its `source`). The override lives
# in memory only — if the endpoint is never called, the LLM_TOOLS_FILE set below
# is used, and a restart restores it. See TOOL_CALLING.md.
# Enabled automatically when LLM_TOOLS_FILE points to a valid tool file.
LLM_TOOLS_ENABLED=false
# JSON file with the tool definitions (name, description, JSON schema, url,