paufinement de l'UI du chat

This commit is contained in:
fabien committed 2026-10-04 21:55:31 +02:00
1 parent 0a6ffab050
commit 87eeb41364
6 files changed
+93 -13

No files matched your search

+5 -1
View File
@@ -2,11 +2,15 @@ package chat
import (
"context"
_ "embed"
"sync"
"trankilou.fr/lassistanoque/backend/internal/domain"
)
//go:embed system_prompt.md
var systemSystemPrompt string
type ChatSession struct {
userID string
teamID string
@@ -43,7 +47,7 @@ func (s *ChatSession) run(ctx context.Context) error {
systemPrompt := &domain.Message{
Role: string(domain.RoleSystem),
Content: s.agent.SystemPrompt,
Content: systemSystemPrompt + "\n\n## Customization\n\n" + s.agent.SystemPrompt,
}
continue_loop := true