Commit graph

708 commits

Author SHA1 Message Date
ValueOn AG
b5dc643dac ai workspace ui fixes 2026-03-16 11:38:18 +01:00
ValueOn AG
f51c313c2c fix settings page 2026-03-16 00:51:09 +01:00
ValueOn AG
3d49bd9d03 enhanced stt/tts functions 2026-03-16 00:47:42 +01:00
ValueOn AG
7fe6f9bc97 new ai agent 2026-03-15 23:38:21 +01:00
ValueOn AG
c8b7517209 refactor: modules/services/ abgeloest durch serviceCenter + serviceHub
serviceCenter = DI-Container (Resolver, Registry, Context) fuer Service-Instanziierung
serviceHub = Consumer-facing Aggregation (DB-Interfaces, Runtime-State, lazy Service-Resolution via serviceCenter)

- modules/serviceHub/ erstellt: ServiceHub, PublicService, getInterface()
- 22 Consumer-Dateien migriert (routes, features, tests): imports von modules.services auf serviceHub bzw. serviceCenter umgestellt
- resolver.py: legacy fallback auf altes services/ entfernt
- modules/services/ komplett geloescht (83 Dateien inkl. dead code mainAiChat.py)
- pre-extraction: progress callback durch chunk-pipeline propagiert, operationType DATA_EXTRACT->DATA_ANALYSE fuer guenstigeres Modell
2026-03-14 11:51:45 +01:00
ValueOn AG
6919a23d4f fix feature instance passing 2026-03-13 08:29:32 +01:00
patrick-motsch
77d527eb93 Merge branch 'int' of https://github.com/valueonag/gateway into int 2026-03-12 13:24:28 +01:00
patrick-motsch
ac7ac02d4d fixed api key handling trustee 2026-03-12 13:24:25 +01:00
17341bfde1 fix:removed old route fallback 2026-03-09 11:15:29 +01:00
7a287065a4 fix:deleted old documentation 2026-03-09 11:03:02 +01:00
d78f071682 bug: sharepoint target address from automation feature 2026-03-09 11:03:02 +01:00
125c2bbce7 stop automation bug fix 2026-03-09 11:03:02 +01:00
22e70aa878 fix: chat-playground and automation feature routes unification 2026-03-09 11:03:02 +01:00
d7636d72c4 bug:service center 2026-03-09 11:03:01 +01:00
d59c6c8576 fix: duplicate automation definition for pydantic model 2026-03-09 11:03:01 +01:00
13322e7cf8 feat: included service center in playground feature to replace old services 2026-03-09 11:03:01 +01:00
patrick-motsch
1e678a8897 commcoach: remove silent fallbacks in PDF export, fix markdown-to-XML conversion with proper regex
Made-with: Cursor
2026-03-07 02:38:42 +01:00
patrick-motsch
cdb974d658 commcoach: rewrite PDF export - direct markdown-to-pdf via reportlab, remove broken RendererPdf dependency
Made-with: Cursor
2026-03-07 02:29:30 +01:00
patrick-motsch
210c9d44a1 commcoach: fix PDF export crash - provide services stub for RendererPdf
Made-with: Cursor
2026-03-07 02:21:09 +01:00
patrick-motsch
b6c01fd203 commcoach: fix double extensions, improve AI document generation quality and action prompts
Made-with: Cursor
2026-03-07 02:09:30 +01:00
patrick-motsch
4e6974ae11 feat: sendMail und storeDocument Commands im SPEECH_TEAMS Prompt ergaenzt
Made-with: Cursor
2026-03-07 02:04:09 +01:00
patrick-motsch
740d2a0b49 commcoach: email subject uses context title instead of UUID, AI generates HTML directly
Made-with: Cursor
2026-03-07 01:28:51 +01:00
patrick-motsch
364e431749 commcoach: backend abort handling + compression + document pre-AI-call + status events
TASK 5: Backend abort handling (cancel previous processMessage tasks)
TASK 6: Compression thresholds lowered (25->15, 15->10)
TASK 7: Combine pending user messages into single prompt
TASK 8: Document handling with pre-AI-call intent detection
TASK 9: Granular status events during AI processing

Made-with: Cursor
2026-03-07 01:02:18 +01:00
patrick-motsch
e2c1c58442 fix: teamsbot SSE-Events fuer Greeting, Commands, Chat-Fehler und command-only Responses
Made-with: Cursor
2026-03-07 00:56:04 +01:00
patrick-motsch
05f1c98825 feat: teamsbot command refactoring, commcoach session cleanup
Made-with: Cursor
2026-03-06 22:55:28 +01:00
f4fb4637ea Merge branch 'feat/service-center' into int 2026-03-06 15:32:59 +01:00
853cce2cf0 feat: implemented the service center into the automation feature 2026-03-06 15:32:27 +01:00
5db31f10ee fix: sharepoint base path 2026-03-06 15:27:54 +01:00
9d1a8d53fc fix: minor bug fixes to chatbot to work with service center 2026-03-06 14:31:56 +01:00
53d2d9d873 first version of service center
implemented on chatbot
2026-03-06 14:03:18 +01:00
6dc2afafb9 fix:performance improvements
- app.py: Pre-warm AI connectors at module load and in lifespan
- aicoreModelRegistry.py: Connector discovery cache, getAvailableModels cache, bulk RBAC, eager prewarm
- connectorDbPostgre.py: Connector cache, contextvars for userId, eviction (max 32)
- chatbot: Uses _get_cached_connector, Service center integration, BillingService exceptions, BillingService exceptions instead of direct imports
- interfaceDbApp.py: Uses _get_cached_connector
- interfaceDbManagement.py: Uses _get_cached_connector
- security/rbac.py: Adds checkResourceAccessBulk
2026-03-06 13:46:54 +01:00
Patrick Motsch
42e79a724a
Merge pull request #102 from valueonag/feat/commcoach
Feat/commcoach
2026-03-06 12:49:24 +01:00
patrick-motsch
c76f2c44f2 teamsbot: Bot-Chat im Transcript, keine AI-Trigger auf eigene Chat-Nachrichten
Made-with: Cursor
2026-03-06 12:40:06 +01:00
patrick-motsch
d7ba24f61a fixed stt procedure 2026-03-05 23:41:37 +01:00
patrick-motsch
12b0d3d36e Alle 9 Fixes sind implementiert. Hier die Zusammenfassung:
Fix 1 -- Opening-Prompt: processSessionOpening in serviceCommcoach.py prüft jetzt ob es die erste Session ist (isFirstSession) und gibt der AI einen expliziten Prompt, der das Erfinden von Kontext verbietet.
Fix 2 -- Stabiler Transcript: onresult in CommcoachCoachingView.tsx nutzt jetzt processedResultIndexRef um nur neue Results zu verarbeiten. Finalisierte Teile werden stabil akkumuliert, kein Flackern mehr.
Fix 3 -- Hintergrundgeräusche-Timeout: Neuer silenceTimerRef mit 5s Timeout. Wenn nach onspeechstart kein Text kommt, wird isUserSpeaking automatisch zurückgesetzt.
Fix 4 -- Stop-Button: "Stop" Button erscheint im Session-Header wenn TTS läuft (via isTtsPlaying State, synchronisiert per 200ms Interval mit isTtsPlayingRef).
Fix 5 -- Weitersprechen-Button: lastTtsAudioRef speichert das zuletzt gespielte Audio. stopTts setzt wasInterrupted = true. "Weitersprechen" Button erscheint nach Unterbrechung und spielt das Audio erneut ab.
Fix 6 -- Paralleles TTS: Neue _generateAndEmitTts() Hilfsfunktion. In processMessage und processSessionOpening wird TTS als asyncio.create_task parallel zu _emitChunkedResponse gestartet.
Fix 7 -- JSON-Response: Die AI antwortet jetzt als JSON mit text, speech, documents. Neuer Prompt-Block wird in buildCoachingSystemPrompt angehängt. _parseAiJsonResponse() und _saveGeneratedDocument() im Backend. processMessage und processSessionOpening nutzen die neue Struktur.
Fix 8 -- Loading-States: Neuer actionLoading State in useCommcoach. Alle async Funktionen setzen setActionLoading('key') vor dem Await und null im finally. Buttons zeigen Loading-Text und werden disabled.
Fix 9 -- Umlaute: Alle deutschen Strings in allen CommCoach-Dateien (Backend + Frontend) korrigiert: ae->ä, oe->ö, ue->ü.
2026-03-04 22:53:41 +01:00
ad570c405a Merge branch 'feature/message-streaming-fix' into int 2026-03-04 08:17:44 +01:00
f1231c4b86 feat: refactor message streaming + add streaming service 2026-03-04 08:10:50 +01:00
patrick-motsch
92d9a2a0d5 2 critical fixes: pwd reset and invitation caching ui 2026-03-03 23:07:41 +01:00
patrick-motsch
f4940cf9e1 iteration 2 done 2026-03-03 23:02:53 +01:00
patrick-motsch
5486a87b9a commcoach iteration 1 completed 2026-03-03 22:04:52 +01:00
patrick-motsch
16db2d91c6 fixed critical code issues 2026-03-03 18:57:20 +01:00
patrick-motsch
d3f891453a fixed log 2026-03-02 21:10:16 +01:00
patrick-motsch
86ede6d3df teamsbot: Stop-Phrasen sofort triggern ohne Debounce (root cause fix)
Made-with: Cursor
2026-03-02 10:24:03 +01:00
patrick-motsch
f5fd1d2406 com feature mvp 2026-03-02 00:51:27 +01:00
patrick-motsch
e94df6c647 fix: normalise None to empty string for required str fields (company, desc, tags)
Made-with: Cursor
2026-03-01 21:59:04 +01:00
patrick-motsch
a6be2b90e0 improve bank extraction retry + auto-matching for bank documents
Made-with: Cursor
2026-03-01 21:54:56 +01:00
patrick-motsch
565ad62c39 feat(teamsbot): RBAC session isolation -- users see only their own sessions
Made-with: Cursor
2026-03-01 13:01:35 +01:00
patrick-motsch
d1e081cf98 fix(teamsbot): unblock WS loop for MFA so mfaResolved can close the modal
Made-with: Cursor
2026-03-01 11:15:39 +01:00
patrick-motsch
13e39ccc74 fix(teamsbot): add debugMode field to TeamsbotUserSettings model
Made-with: Cursor
2026-03-01 10:34:24 +01:00
patrick-motsch
1176cdc368 fix(teamsbot): save credentials when form visible without showCredentialForm state, add debugMode to effective config merge
Made-with: Cursor
2026-03-01 10:20:09 +01:00