- 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: {

View File

@@ -14,7 +14,7 @@
<div class="progress-title">
<!-- Evie working animatie tijdens processing -->
<img v-if="isProcessing"
src="/static/assets/img/evie_working.webp"
:src="staticUrl('assets/img/evie_working.webp')"
alt="Bezig met verwerken..."
class="progress-icon working-animation">
@@ -55,7 +55,7 @@
<!-- Alleen Evie animatie voor "No Information" tijdens processing -->
<div v-else-if="shouldShowProgressIconOnly" class="progress-icon-only">
<img src="/static/assets/img/evie_working.webp"
<img :src="staticUrl('assets/img/evie_working.webp')"
alt="Bezig met verwerken..."
class="working-animation-only">
</div>
@@ -72,6 +72,16 @@ import { useComponentTranslations } from '../js/services/LanguageProvider.js';
export default {
name: 'ProgressTracker',
setup() {
// 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(/^\/+/, '');
};
// Define original English texts (base language for developers)
const originalTexts = {
error: 'Error while processing',
@@ -92,7 +102,8 @@ export default {
statusTexts: translations,
translationLoading: isLoading,
translationError: error,
currentLanguage
currentLanguage,
staticUrl
};
},
props: {