Commit Graph

9 Commits

Author SHA1 Message Date
vvzvlad
a4b7919753 fix(ai-chat): OpenAI Chat Completions for multi-turn + provider settings, stream UX & errors" -m "Live-stand fixes (OpenRouter / OpenAI-compatible):
- openai provider: use .chat() (Chat Completions) instead of the default callable
  (Responses API), which gateways reject on multi-turn -> 400.
- updateAiProviderSettings: assemble settings.ai.provider via jsonb_build_object
  with ::text-cast bound params + jsonb_typeof self-heal (postgres.js was
  double-encoding it into an array; the ::text cast avoids 'could not determine
  data type of parameter').
- chat agent: drop the hard maxOutputTokens cap (truncated complex tool calls);
  keep a tiny cap only on the test-connection ping.
- testConnection + chat stream: surface the real provider error (statusCode+message)
  to logs and the UI instead of generic masks; never log the API key.
- chat UI: typing indicator, incremental streaming render, tool 'running' status, Stop.

Also bundled (prior uncommitted ai-chat work):
- history 'AI agent' provenance badge; vector RAG (pgvector image + page_embeddings
  + AI_QUEUE indexer + space-scoped semanticSearch); external MCP servers backend
  (@ai-sdk/mcp client, SSRF IP-pinning, encrypted headers, admin CRUD/Test);
  yjs duplicate-instance fix via pnpm patch (single CJS instance server-side).
2026-06-17 04:28:29 +03:00
vvzvlad
c8d715f640 build(docker): update docmost image to ghcr.io registry 2026-06-16 22:57:54 +03:00
Philipinho
40b5346f9e cleanup redundant param 2026-02-06 10:28:52 -08:00
Philipinho
d6b4573b79 update compose services versions 2026-02-06 10:27:34 -08:00
Quinten Van Damme
3e9f6b11cc Remove version from docker-compose.yml [deprecated] (#1011) 2025-09-04 03:55:32 +01:00
Philipinho
a0b31804d9 update docker compose file 2024-06-29 13:00:10 +01:00
Philipinho
681a21a238 Update readme
* Rename storage volume
2024-06-28 17:29:46 +01:00
Philipinho
20c1a92885 Update Dockerfile
* Add volume to docker compose file
2024-06-27 15:32:23 +01:00
Philipinho
eef9081aaf dockerfile and docker-compose file 2024-06-07 17:21:19 +01:00