fix(agent): stream Ollama responses to prevent prefill timeout
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ import type { ToolContext } from "./server.ts";
|
||||
import { execute, tool } from "./shared.ts";
|
||||
|
||||
/** Hard cap on returned content to avoid flooding the model's context window. */
|
||||
const MAX_CHARS = 20000;
|
||||
const MAX_CHARS = 12000;
|
||||
|
||||
export const ReadFileParams = type({
|
||||
path: type.string.describe("absolute path to the file to read"),
|
||||
|
||||
Reference in New Issue
Block a user