Commit Graph
6 Commits
Author SHA1 Message Date
opencode ecf4648393 debug: aggiunge print per vedere detection 2026-03-23 17:29:25 +01:00
opencode 7c645bff78 fix: migliora intent detection con più patterns 2026-03-23 17:21:52 +01:00
opencode a2f933edee fix: return tool result directly for detected intents 2026-03-23 17:19:55 +01:00
opencode 9970bba6c7 fix: aggiunge intent detection per fallback automatico
- Rileva automaticamente richieste di system info e list file
- Non dipende dal modello per usare i tool base
- System prompt semplificato
2026-03-23 17:02:30 +01:00
opencode 2fa06ec0af fix: migliora parsing e system prompt per tool calling
- Nuovo formato TOOL:toolname|arg=val più semplice
- System prompt semplificato con lista chiara tool
- Parsing supporta sia formato nuovo che vecchio
- Validazione tool names esistenti
2026-03-23 16:20:37 +01:00
opencode a309c7e27c feat: aggiunge OllamaToolAgent con tool calling
- Nuovo modulo ollama_agent.py con parsing delle risposte
- Supporta chiamate tool per provider senza bind_tools
- Tool built-in: execute, read_file, write_file, ls, search, system_info
- Il modello risponde con [TOOL_CALL] che noi parsiamo ed eseguiamo
- Integrato in main.py per uso automatico con Ollama
2026-03-23 16:14:37 +01:00