{{ t('auth.signingOut') || 'Signing out...' }}
28 |19 | Click the microphone indicator at the right edge of the page to start a voice conversation. 20 |
21 |
22 | Please
Redirecting...
37 |This is a preview of your CSS styles.
66 |Error rendering LaTeX: ${error.message}`
37 | block.className = 'katex-error-block'
38 | }
39 | })
40 | }
41 |
42 | // Dynamically import KaTeX
43 | import('katex').then((katex) => {
44 | renderBlocks(katex.default || katex)
45 | }).catch((error: any) => {
46 | console.error('Failed to load KaTeX:', error)
47 | // Show error message on all blocks
48 | ssrBlocks.forEach((block) => {
49 | block.innerHTML = `Failed to load KaTeX: ${error.message}`
50 | block.className = 'katex-error-block'
51 | })
52 | })
53 | })
54 | }
55 |
--------------------------------------------------------------------------------
/docker-compose.yaml:
--------------------------------------------------------------------------------
1 | services:
2 | postgres:
3 | image: postgres:16-alpine
4 | environment:
5 | - POSTGRES_DB=chatollama
6 | - POSTGRES_USER=chatollama
7 | - POSTGRES_PASSWORD=chatollama_password
8 | ports:
9 | - "5432:5432"
10 | restart: always
11 | volumes:
12 | - postgres_data:/var/lib/postgresql/data
13 | healthcheck:
14 | test: ["CMD-SHELL", "pg_isready -U chatollama -d chatollama"]
15 | interval: 10s
16 | timeout: 5s
17 | retries: 5
18 | start_period: 30s
19 |
20 | chromadb:
21 | image: chromadb/chroma
22 | ports:
23 | - "8000:8000"
24 | restart: always
25 | volumes:
26 | - chromadb_volume:/chroma/chroma
27 |
28 | chatollama:
29 | environment:
30 | - ACL_ENABLED=false # Set to 'true' to enable admin-only MCP management
31 | - NUXT_KNOWLEDGE_BASE_ENABLED=true
32 | - NUXT_REALTIME_CHAT_ENABLED=false
33 | - NUXT_MODELS_MANAGEMENT_ENABLED=true
34 | - NUXT_MCP_ENABLED=true
35 | - CHROMADB_URL=http://chromadb:8000
36 | - DATABASE_URL=postgresql://chatollama:chatollama_password@postgres:5432/chatollama
37 | - DIRECT_URL=postgresql://chatollama:chatollama_password@postgres:5432/chatollama
38 | - REDIS_HOST=redis
39 | # Migration settings
40 | - SKIP_MIGRATION=false # Set to 'true' to skip automatic migration
41 | - MIGRATION_TIMEOUT=300 # Migration timeout in seconds
42 | - COHERE_API_KEY=xxxxx
43 | - COHERE_MODEL=ms-marco-MiniLM-L-6-v2
44 | - COHERE_BASE_URL=http://peanutshell:8000/v1
45 | image: 0001coder/chatollama:latest
46 | pull_policy: always
47 | #extra_hosts:
48 | # - "host.docker.internal:host-gateway"
49 | ports:
50 | - "3000:3000"
51 | restart: always
52 | depends_on:
53 | postgres:
54 | condition: service_healthy
55 | chromadb:
56 | condition: service_started
57 | redis:
58 | condition: service_started
59 | volumes:
60 | - ~/.chatollama:/app/data
61 |
62 | redis:
63 | image: redis:latest
64 | restart: always
65 | volumes:
66 | - redis_data:/data
67 |
68 | peanutshell:
69 | image: ghcr.io/sugarforever/peanut-shell:latest
70 | volumes:
71 | - hf_data:/root/.cache
72 |
73 | volumes:
74 | postgres_data:
75 | chromadb_volume:
76 | redis_data:
77 | hf_data:
--------------------------------------------------------------------------------
/components/ToolCallDisplay.vue:
--------------------------------------------------------------------------------
1 |
20 |
21 |
22 | {{ JSON.stringify(toolCall.args, null, 2) }}
37 | {{ toolResults.find(r => r.tool_call_id === toolCall.id)?.content }}
49 | {{ error }}
77 |