Description
If I define a "rag" section in the configuration file, the first time at launch that I do a search, I would get this error message.
Some toolsets failed to initialize for agent 'cookbook'.
Details:
- toolset rag failed: failed to create RAG manager: failed to build strategy configs for RAG "rag_knowledge": failed to build strategy "chunked-embeddings" for RAG "rag_knowledge": failed to create database: failed to create schema: attempt to write a readonly database (1032)
If I quit the Docker agent and restart it, it works.
I use Docker Agent v1.141.0
Expected Behavior
No response
Actual Behavior
No response
Steps to Reproduce
the rag section:
rag:
rag_knowledge:
tool:
description: >
Search the Go and htmx cookbook.
Every topic comes with its common mistakes and how to avoid them.
docs:
- ./knowledge
strategies:
- type: chunked-embeddings
embedding_model: embedder
database: ./knowledge-embeddings.db
vector_dimensions: 768
similarity_metric: cosine_similarity
threshold: 0.3
limit: 6
chunking:
size: 1200
overlap: 100
respect_word_boundaries: true
models:
embedder:
provider: dmr
model: huggingface.co/unsloth/embeddinggemma-300m-gguf:Q8_0
base_url: http://host.docker.internal:12434/engines/v1
max_tokens: 2048
Docker Agent version
1.141.0
OS & terminal
Linux inside SBX
Model used
Local model
Error output
Some toolsets failed to initialize for agent 'cookbook'.
Details:
- toolset rag failed: failed to create RAG manager: failed to build strategy configs for RAG "rag_knowledge": failed to build strategy "chunked-embeddings" for RAG "rag_knowledge": failed to create database: failed to create schema: attempt to write a readonly database (1032)
Screenshots
No response
Additional context
No response
Description
If I define a "rag" section in the configuration file, the first time at launch that I do a search, I would get this error message.
If I quit the Docker agent and restart it, it works.
I use Docker Agent
v1.141.0Expected Behavior
No response
Actual Behavior
No response
Steps to Reproduce
the rag section:
Docker Agent version
1.141.0
OS & terminal
Linux inside SBX
Model used
Local model
Error output
Screenshots
No response
Additional context
No response