Add a troubleshooting profile with the scoped log, and a deterministic conf-key lookup
This commit is contained in:
@@ -94,7 +94,9 @@ require_once dirname(__DIR__) . '/include/ai.php';
|
||||
// spends ~2500 of its 16384 on retrieved passages, so it cannot afford deep history; the other
|
||||
// two retrieve nothing and can carry a real conversation. Reasoning is not stored in history,
|
||||
// so it does not compound.
|
||||
const VV_AI_PROFILES = ['varaverk' => 3, 'chat' => 8, 'code' => 4];
|
||||
// troubleshoot carries a whole log tail into context, so its history is the shallowest of the
|
||||
// four — the evidence for "why did this fail" is the log in front of it, not the conversation.
|
||||
const VV_AI_PROFILES = ['varaverk' => 3, 'chat' => 8, 'code' => 4, 'troubleshoot' => 2];
|
||||
const VV_AI_MAX_TURNS = 3; // fallback when a profile is not recognised
|
||||
const VV_AI_MAX_QUESTION = 4000; // characters
|
||||
const VV_AI_MAX_HIST_MSG = 4000; // characters per retained message
|
||||
|
||||
Reference in New Issue
Block a user