mirror of
https://github.com/imartinez/privateGPT.git
synced 2026-07-16 17:00:12 +00:00
* feat: add bundle to remove * fix: spaces * feat: add xml render as skill spec * feat: add skill volume root to cache * fix: deduplicate values * fix: change the mount path to skill_id * fix: use different paths * feat: add principal (cherry picked from commit 5db64fe721d5706440ce9f342b1388ffe742bc16) # Conflicts: # private_gpt/components/code_execution/base.py # private_gpt/components/code_execution/code_execution_component.py # private_gpt/components/code_execution/local.py # private_gpt/components/environment/manager.py # private_gpt/components/tools/builders/bash_tool_builder.py # private_gpt/components/tools/builders/text_editor_tool_builder.py # private_gpt/components/tools/processors/bash_processor.py * fix: mypy ... * fix: config * fix: sandbox config * feat: add forward cookies * fix: loop * feat: add present server * feat: add feature flag for tools * refactor: move principal to another better place * feat: add api key principal * docs: fix docs * docs: add present server * fix: principal * fix: mypy * fix: avoid to block the loop * fix: blocks in expansion * fix: remove maximum concurrent users ... * fix: multiplexer * fix: readers * fix: more fixes ... * fix: impl * feat: tool scheduler * feat: add adaptative * feat: add chat worker * fix: config * fix: max * feat: add chat/tools workers * fix: mypy * feat: add generic scheduler * fix: get result * feat: do serializable the tool executor * fix: tools * fix: config * fix: config * fix: args * fix: config * fix: serializer * Revert "fix: blocks in expansion" This reverts commita2110f94a8. * fix: unify all logic * feat: add ingestion scheduler * fix: settings * fix: config * feat: add arq worker to chat * fix: arq worker * fix: add nest * fix: mypy * fix: await * fix: script stress * fix: tokenizer * fix: chat scheduler * fix: mypy * fix: add async tokenizer * fix: improve condense * fix: tool scheduler * feat: add initial real async chat worker * fix: mypy * fix: do resumable local executor ... ... ... fix: revert usleess changes fix: remove parent chat job fix: refactor fix: loop ref: rename models fix: chat engine fix: mypy ... ... ... fix: fix deps * fix: tests * fix: tests * ... * fix: stream * fix: config * fix: scheduler * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Handle PGPT_WORKER_MODE=celery in health check worker status * fix: cancel * fix: arch * fix: test ingestion * fix: deserialization of chat messages * fix: broken results * fix: mypy * fix: test * fix: config * fix: remove arq tool worker * fix: output cls * fix: preserve early resumable tool callbacks * fix: preserve async tool result order * refactor: address worker PR review comments * fix: mypy * test: colocate ARQ chat enqueue coverage * fix: remove redis from tests * fix: mypy * fix: tests * test: isolate chat mocks and cancellation timing * fix: tests * fix: tests * fix: test (cherry picked from commitf8ee460af2) * fix: worker config * test: remove flaky chat cancellation assertion (cherry picked from commit1115ff2349) # Conflicts: # tests/server/chat/test_chat_routes.py * fix: emit chat pings from stream listeners * fix: don't duplciate the output * fix: rss memory ... * fix: pass the args * fix: threads * fix: websearch --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
98 lines
1.8 KiB
YAML
98 lines
1.8 KiB
YAML
server:
|
|
env_name: test
|
|
auth:
|
|
enabled: false
|
|
# Dummy secrets used for tests
|
|
secret: "foo bar; dummy secret"
|
|
|
|
data:
|
|
local_data_folder: local_data/tests
|
|
|
|
qdrant:
|
|
path: local_data/tests/qdrant
|
|
url: null
|
|
|
|
stream:
|
|
broker: memory
|
|
|
|
scheduler:
|
|
ingestion:
|
|
# Tests run local ingestion and local retrieval in the same process. This
|
|
# mode reuses the already-open local Qdrant handle instead of opening a
|
|
# second sync/async client pair against the same on-disk database.
|
|
mode: local
|
|
|
|
docling:
|
|
mode: api
|
|
use_ocr: true
|
|
use_gpu: true
|
|
# Using a threshold of 0.7 to make sure only to use OCR in scanned documents
|
|
bitmap_area_threshold: 0.7
|
|
# Disable table recognition
|
|
table_mode: fast
|
|
# Disable Image recognition
|
|
image_mode: placeholder
|
|
|
|
chat:
|
|
format_context_strategy: list
|
|
maximum_history_length: 100000
|
|
|
|
vectorstore:
|
|
database: qdrant
|
|
embed_dim: 384
|
|
multitenancy: logical
|
|
default_collection: testing
|
|
|
|
observability:
|
|
mode: none
|
|
|
|
models:
|
|
- name: mock
|
|
type: llm
|
|
mode: mock
|
|
context_window: 4096
|
|
support_reasoning: true
|
|
- name: mock
|
|
type: embedding
|
|
mode: mock
|
|
context_window: 384
|
|
|
|
llm:
|
|
default_model: mock
|
|
auto_discover_models: false
|
|
|
|
embedding:
|
|
default_model: mock
|
|
auto_discover_models: false
|
|
|
|
# Make sure we don't use workers for testing. We run as a sync application.
|
|
celery:
|
|
use_workers: false
|
|
broker_mode: local
|
|
backend_mode: local
|
|
acks_late: true
|
|
|
|
|
|
tasks_results_broker:
|
|
mode: none
|
|
|
|
sentry:
|
|
enabled: false
|
|
|
|
node_store:
|
|
index_store: simple
|
|
doc_store: simple
|
|
node_store: qdrant
|
|
|
|
principal:
|
|
forwarded_headers: ${PGPT_PRINCIPAL_FORWARDED_HEADERS:authorization,anthropic-beta}
|
|
|
|
sandbox:
|
|
provider: null
|
|
|
|
skills:
|
|
database: sqlite
|
|
storage_provider: local
|
|
skill_injection_mode: system_prompt
|
|
maximum_loaded_skills: 1
|