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:
@@ -333,12 +333,12 @@
|
||||
<div class="flex items-center justify-center gap-2 text-base-content/60">
|
||||
<Calendar class="w-5 h-5" />
|
||||
<span class="text-lg">
|
||||
{$t('profile.member_since')}
|
||||
{new Date(user.date_joined).toLocaleDateString('en-GB', {
|
||||
timeZone: 'UTC',
|
||||
year: 'numeric',
|
||||
month: 'long'
|
||||
})}
|
||||
{$t('profile.member_since')}
|
||||
{new Date(user.date_joined).toLocaleDateString('en-GB', {
|
||||
timeZone: 'UTC',
|
||||
year: 'numeric',
|
||||
month: 'long'
|
||||
})}
|
||||
</span>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user