feat(3.15): AI Tools extindere si integrare
Prompt Generator: - Search bar cu cautare in name/description/tags/category - Filtru target type (text/image) cu toggle rapid 'Imagine' - 4 template-uri noi imagine: Midjourney Exterior, SD Interior, Midjourney Infographic, SD Material Texture (18 total) - Config v0.2.0 AI Chat Real API Integration: - /api/ai-chat route: multi-provider (OpenAI, Anthropic, Ollama, demo) - System prompt default in romana pt context arhitectura - GET: config status, POST: message routing - use-chat.ts: sendMessage() cu fetch real, sending state, providerConfig fetch, updateSession() pt project linking - UI: provider status badge (Wifi/WifiOff), Bot icon pe mesaje, loading spinner la generare, disable input while sending - Config banner cu detalii provider/model/stare AI Chat + Tag Manager: - Project selector dropdown in chat header (useTags project) - Session linking: projectTagId + projectName on ChatSession - Project name display in session sidebar - Project context injected in system prompt Docker: - AI env vars: AI_PROVIDER, AI_API_KEY, AI_MODEL, AI_BASE_URL, AI_MAX_TOKENS
This commit is contained in:
@@ -33,6 +33,12 @@ services:
|
||||
- ENCRYPTION_SECRET=ArchiTools-Vault-2025!SecureKey@AES256
|
||||
# ManicTime Tags.txt sync (SMB mount path)
|
||||
- MANICTIME_TAGS_PATH=/mnt/manictime/Tags.txt
|
||||
# AI Chat (set AI_PROVIDER to openai/anthropic/ollama; demo if no key)
|
||||
- AI_PROVIDER=${AI_PROVIDER:-demo}
|
||||
- AI_API_KEY=${AI_API_KEY:-}
|
||||
- AI_MODEL=${AI_MODEL:-}
|
||||
- AI_BASE_URL=${AI_BASE_URL:-}
|
||||
- AI_MAX_TOKENS=${AI_MAX_TOKENS:-2048}
|
||||
volumes:
|
||||
# SMB share for ManicTime Tags.txt (mount on host: //time/tags → /mnt/manictime)
|
||||
- /mnt/manictime:/mnt/manictime
|
||||
|
||||
Reference in New Issue
Block a user