fix(chat): improve OpenCode Zen integration and error handling

- Fetch models dynamically from OpenCode Zen API (36 models vs 5 hardcoded)
- Add function calling support check before using tools
- Add retry logic (num_retries=2) for transient failures
- Improve logging for debugging API calls and errors
- Update system prompt for multi-stop itinerary context
- Clean up unused imports in frontend components
- Remove deleted views.py (moved to views/__init__.py)
This commit is contained in:
2026-03-09 16:11:14 +00:00
parent 21ef73f49d
commit 21954df3ee
24 changed files with 1523 additions and 1669 deletions

View File

@@ -52,8 +52,7 @@
class="link link-primary"
target="_blank"
rel="noopener noreferrer"
href="https://github.com/Alex-Wiesner/voyage"
>documentation</a
href="https://github.com/Alex-Wiesner/voyage">documentation</a
>.
</p>
</div>