immersive2/src/diagram
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
..
functions Fix AppConfig persistence and consolidate handle storage 2025-11-19 15:34:40 -06:00
types Added webxr exit button 2025-02-14 11:01:27 -06:00
diagramManager.ts Add Ollama as alternative AI provider and modify_connection tool 2025-12-27 12:08:17 -06:00
diagramMenuManager.ts Implement Phase 2 UI layout and toolbox integration for VR config panel 2025-11-18 12:03:24 -06:00
diagramObject.ts Add camera position tool and fix entity modification bugs 2025-12-20 15:59:30 -06:00