- eveai_chat_client updated to retrieve static files from the correct (bunny.net) location when a STATIC_URL is defined.

- Defined locations for crewai crew memory. This failed in k8s.
- Redis connection for pub/sub in ExecutionProgressTracker adapted to conform to TLS-enabled connections
This commit is contained in:
Josako
2025-09-12 10:18:43 +02:00
parent a325fa5084
commit 42cb1de0fd
15 changed files with 306 additions and 50 deletions

View File

@@ -6,7 +6,7 @@
<!-- EveAI Logo voor AI berichten - links boven, half buiten de bubbel -->
<img
v-if="message.sender === 'ai'"
src="/static/assets/img/eveai_logo.svg"
:src="staticUrl('assets/img/eveai_logo.svg')"
alt="EveAI"
class="ai-message-logo"
/>
@@ -105,7 +105,7 @@
<!-- EveAI Logo voor AI berichten - links boven, half buiten de bubbel -->
<img
v-if="message.sender === 'ai'"
src="/static/assets/img/eveai_logo.svg"
:src="staticUrl('assets/img/eveai_logo.svg')"
alt="EveAI"
class="ai-message-logo"
/>
@@ -124,7 +124,7 @@
<!-- EveAI Logo voor AI berichten - links boven, half buiten de bubbel -->
<img
v-if="message.sender === 'ai'"
src="/static/assets/img/eveai_logo.svg"
:src="staticUrl('assets/img/eveai_logo.svg')"
alt="EveAI"
class="ai-message-logo"
/>
@@ -166,11 +166,23 @@ export default {
originalTexts
);
// Helper to build environment-aware static asset URLs
const staticUrl = (p) => {
try {
if (typeof window !== 'undefined' && typeof window.staticUrl === 'function') {
return window.staticUrl(p);
}
} catch (e) {}
const base = '/static/';
return base + String(p || '').replace(/^\/+/, '');
};
return {
messageTexts: translations,
translationLoading: isLoading,
translationError: error,
currentLanguage
currentLanguage,
staticUrl
};
},
props: {