Commit Graph
4 Commits
Author SHA1 Message Date
Sergey KozyrenkoandClaude Opus 4.8 d765345051 docs: propagate MiniMax + Claude 4.7/4.8 across deploy files and guides (refs #288, #328)
Code review found the providers were fully wired in code but missing from
several user-facing surfaces:

- MiniMax (#328): add to .env.example, docker-compose env passthrough,
  backend/docs/config.md env table, README provider list + a MiniMax
  configuration section, and backend/docs/database.md PROVIDER_TYPE enum.
- Claude Opus 4.7/4.8 (#288): add to the README Claude and Bedrock model
  catalogs and correct the model counts (10→11 Claude, 21→24 Bedrock); note
  4.7/4.8 are adaptive-thinking-only in the Adaptive Thinking section.
- llms_how_to.md: scope the "Temperature=1.0" rule to budget thinking and add
  an adaptive-thinking caveat (4.7/4.8 reject sampling params), so the guide no
  longer contradicts the shipped adaptive code path.
- docker-compose: point the Bedrock config/models default mount at the tracked
  examples/configs/bedrock-glm-flash.* files (the README-documented path) so a
  plain `docker compose up` no longer creates empty placeholder directories.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-21 18:04:43 +07:00
Dmitry Ng 39f122467d feat(config): add new embedding and rename database connection pool settings
- Introduced `EMBEDDING_MAX_TEXT_BYTES` to limit the maximum byte size of text sent to the embedding model.
- Renamed database connection pool settings: `DATABASE_MAX_OPEN_CONNS`, `DATABASE_MAX_IDLE_CONNS`, and `DATABASE_VECTOR_MAX_CONNS` for improved PostgreSQL connection management.
- Updated relevant documentation to reflect these new configuration options and their usage.
- Adjusted various components to utilize the new settings for enhanced performance and resource management.
2026-05-18 18:26:52 +03:00
Dmitry Ng 077ddce476 feat(database): enhance PostgreSQL connection pooling and configuration
- Introduced shared connection pooling for PostgreSQL using `*sql.DB` for sqlc and GORM, optimizing resource usage.
- Added new environment variables: `DB_MAX_OPEN_CONNS`, `DB_MAX_IDLE_CONNS`, and `DB_VECTOR_MAX_CONNS` for configurable connection limits.
- Updated documentation to reflect new connection pooling strategy and provide operational commands for monitoring.
- Implemented shared `pgxpool` for pgvector stores to reduce connection overhead and improve performance.
- Adjusted various components to utilize the new connection pooling setup, ensuring efficient database interactions.
2026-05-18 11:13:43 +03:00
Dmitry Ng b90ea4711e repo final state 2026-03-26 06:16:07 +03:00