immersive2/server/api
Michael Mainguy 74a2d179b9 Add Ollama as alternative AI provider and modify_connection tool
Ollama Integration:
- Add providerConfig.js for managing AI provider settings
- Add toolConverter.js to convert between Claude and Ollama formats
- Add ollama.js API handler with function calling support
- Update diagramAI.ts with Ollama models (llama3.1, mistral, qwen2.5)
- Route requests to appropriate provider based on selected model
- Use 127.0.0.1 to avoid IPv6 resolution issues

New modify_connection Tool:
- Add modify_connection tool to change connection labels and colors
- Support finding connections by label or by from/to entities
- Add chatModifyConnection event handler in diagramManager
- Clarify in tool descriptions that empty string removes labels

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 12:08:17 -06:00
..
claude.js Add camera position tool and fix entity modification bugs 2025-12-20 15:59:30 -06:00
index.js Add Ollama as alternative AI provider and modify_connection tool 2025-12-27 12:08:17 -06:00
ollama.js Add Ollama as alternative AI provider and modify_connection tool 2025-12-27 12:08:17 -06:00
session.js Add server-side session persistence for chat 2025-12-20 13:42:01 -06:00