Increase Ollama context for agents
This commit is contained in:
parent
3adcfa3044
commit
73ba12308a
2 changed files with 2 additions and 2 deletions
|
|
@ -573,7 +573,7 @@ Itens que um agente deve verificar antes de mexer:
|
|||
- `pactl` e necessario para `configs/waybar/switch_sink.sh`.
|
||||
- `Home Assistant` local e `~/.config/secrets/ha_token` sao dependencias externas do controle de ar.
|
||||
- `open-webui` depende do `ollama` configurado no host.
|
||||
- `OLLAMA_CONTEXT_LENGTH` esta em `32768`; reduzir para 8k quebra prompts grandes de agentes com schemas de ferramentas.
|
||||
- `OLLAMA_CONTEXT_LENGTH` esta em `64000`; reduzir para 8k quebra prompts grandes de agentes com schemas de ferramentas.
|
||||
|
||||
### Home Assistant / Codex status
|
||||
|
||||
|
|
|
|||
|
|
@ -389,7 +389,7 @@ in {
|
|||
host = "[::]";
|
||||
environmentVariables = {
|
||||
# Agent CLIs send large prompts with tool schemas; 8k truncates tool-use instructions.
|
||||
OLLAMA_CONTEXT_LENGTH = "32768";
|
||||
OLLAMA_CONTEXT_LENGTH = "64000";
|
||||
};
|
||||
loadModels = [
|
||||
"gemma4:e4b"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue