Skip to content

Centralize Configurations#115

Merged
VVoruganti merged 33 commits into
mainfrom
vineeth/dev-694
Jun 24, 2025
Merged

Centralize Configurations#115
VVoruganti merged 33 commits into
mainfrom
vineeth/dev-694

Conversation

@VVoruganti

@VVoruganti VVoruganti commented May 27, 2025

Copy link
Copy Markdown
Collaborator

Leverage Pydantic Settings to create a central source of truth for hardcoded values in Honcho. Make it easier to add new settings and modify them during deployment or runtime.

Summary by CodeRabbit

  • New Features

    • Centralized configuration management introduced, allowing settings via environment variables, .env, or a config.toml file.
    • Example configuration file (config.toml.example) and an expanded .env.template provided for easier setup and customization.
    • Added new document management endpoints: retrieve, update, and delete documents.
    • Added support for embedding generation through a unified model client abstraction.
  • Improvements

    • All configuration (database, authentication, LLM, observability, etc.) is now managed centrally, simplifying deployment and maintenance.
    • Enhanced documentation with detailed setup, configuration, and contribution guides.
    • Dockerfile updated to include configuration files in container builds.
    • Expanded CORS support to include new origins.
  • Bug Fixes

    • Database session handling improved for better transaction atomicity and reduced idle time.
  • Refactor

    • Replaced hardcoded and environment variable-based settings throughout the codebase with centralized configuration access.
    • Unified embedding and model generation logic under a single client abstraction.
    • Migration scripts and internal logic now consistently use centralized configuration for database schema and connection settings.
  • Documentation

    • README, CONTRIBUTING, and CLAUDE documentation expanded and reorganized for clarity and ease of use.
    • Added detailed changelog for the new release.
  • Chores

    • Version bumped to 2.0.1.
    • Updated test and CI configuration to match new environment variable naming conventions.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants