Skip to content

feat: update embedding and LLM provider configurations#45

Merged
Teingi merged 19 commits into
ob-labs:mainfrom
Evenss:main
Jun 12, 2026
Merged

feat: update embedding and LLM provider configurations#45
Teingi merged 19 commits into
ob-labs:mainfrom
Evenss:main

Conversation

@Evenss

@Evenss Evenss commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Revised .env.example to reflect updated provider options for embeddings and LLMs, including "openai", "dashscope", "ollama", and "huggingface".
  • Enhanced SettingsPanel to support new provider selections and added functionality for testing configurations.
  • Introduced new API endpoints for testing embedding and LLM connections, improving user experience in configuration management.
  • Updated localization files to include new settings and descriptions for better clarity across multiple languages.

Related to #15
Related to #14

Evenss and others added 19 commits June 8, 2026 16:47
- Simplified the ContextSeekMiddleware by delegating backend selection and embedder bridging to the canonical factory.
- Updated the handling of LangChain embeddings and summarizers to prioritize user-supplied models, avoiding unnecessary instantiation of LLM instances.
- Removed unused imports and redundant code to enhance clarity and maintainability.
- Introduced `auto_dream` feature to ContextSeekMiddleware, allowing for periodic dreaming based on a dual-gate mechanism: a count threshold (`dream_every`) and a minimum time interval since the last dream (`dream_min_interval_seconds`).
- Updated `after_agent` method to trigger dreaming alongside compacting, ensuring both processes are managed independently.
- Added tests to validate the new dreaming behavior, including scenarios for count and time gating, and ensuring dreaming does not interfere with compacting tasks.
…functionality

- Expanded the documentation for `ContextSeekMiddleware` to detail the newly introduced `auto_dream` feature, including its parameters and behavior.
- Added a section on the dual-gate mechanism for triggering dreams, explaining the conditions required for execution.
- Included example code demonstrating the configuration of the `auto_dream` feature within the middleware setup.
- Bump version in package.json and package-lock.json to 0.2.0.
- Introduce new chart components: BarList, DonutChart, LineChart, StatCards, and StatRows.
- Add @radix-ui/react-popover dependency for enhanced UI components.
- Refactor App component to include new panels and update navigation.
- Implement theme and language context providers for improved user experience.
- Enhance ScopeSelector with a dropdown for selecting scopes.
- Update EmptyState and HealthBadge components to utilize i18n for localization.
- Removed IngressPanel from the App and navigation context.
- Updated globalOverview API to accept an optional scope parameter.
- Enhanced OverviewPanel to utilize the scope context for fetching data.
- Refactored SettingsPanel to include additional configuration options for various storage backends.
- Improved localization in i18n files with new settings and descriptions.
- Cleaned up SkillsPanel by removing unused type detection logic and optimizing skill display logic.
- Added new configuration options for LLM and embedding providers, including base URLs and API keys.
- Implemented update functionality for configuration via a new API endpoint.
- Introduced editable rows in the SettingsPanel for user-friendly configuration management.
- Enhanced localization support with new settings in i18n files for multiple languages.
- Added install and restart functionalities to the context client for improved backend management.
- Updated Vite configuration to include new API segments for installation and restart operations.
- Revised .env.example to clarify storage backend settings for seekdb and oceanbase modes.
- Updated README and localization files to change "Browse" to "Insight" for better clarity in the dashboard UI.
- Enhanced WritePanel to support tag merging from both input and JSON formats for improved data handling.
- Improved documentation for CLI and storage guides to reflect the new storage backend configurations.
- Added a function to determine if the application is running as a desktop app, adjusting storage backend options accordingly in the SettingsPanel.
- Implemented a polling mechanism in the Tauri frontend to check the backend status and update the UI based on health status.
- Introduced a new command in the Rust backend to return the backend's health status, including the port and URL for access.
- Ensured the desktop configuration file is created if it does not exist, setting default values for storage and model configurations.
- Improved error handling in the environment file update process to create necessary directories if they do not exist.
- Revised .env.example to reflect updated provider options for embeddings and LLMs, including "openai", "dashscope", "ollama", and "huggingface".
- Enhanced SettingsPanel to support new provider selections and added functionality for testing configurations.
- Introduced new API endpoints for testing embedding and LLM connections, improving user experience in configuration management.
- Updated localization files to include new settings and descriptions for better clarity across multiple languages.

@Teingi Teingi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Teingi Teingi merged commit 811d693 into ob-labs:main Jun 12, 2026
4 checks passed
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.

2 participants