Skip to content

refactor: migrate providers to template form and remove legacy provider types - #662

Merged
haiphucnguyen merged 1 commit into
mainfrom
feature/convert-specific-open-ai-compatible-model-provider-to-template-form
Aug 22, 2026
Merged

haiphucnguyen merged 1 commit into
mainfrom
feature/convert-specific-open-ai-compatible-model-provider-to-template-form

Conversation

@haiphucnguyen

Copy link
Copy Markdown
Collaborator
  • Switch all local providers (Ollama, LocalAI, Docker AI, LM Studio) to OpenAI‑compatible template system
  • Remove legacy provider classes and settings (e.g. OllamaSettings, DockerAiSettings, etc.)
  • Update ProviderRegistry, Analytics, and ModelCapabilitiesCache to reflect new provider set
  • Adjust embedding token limit logic and TextProcessor safety buffer
  • Update i18n messages, templates, and help texts for new provider model
  • Revise tests to use OPENAI_COMPATIBLE provider instead of legacy types
  • Clean up unused files, imports, and references throughout the codebase

BREAKING CHANGE: The public provider API has been refactored; legacy provider types (OLLAMA, LOCALAI, LMSTUDIO, DOCKER) are removed and replaced with OpenAI‑compatible templates. The askimo.yml also need to be revised

…er types

- Switch all local providers (Ollama, LocalAI, Docker AI, LM Studio) to OpenAI‑compatible template system
- Remove legacy provider classes and settings (e.g. OllamaSettings, DockerAiSettings, etc.)
- Update ProviderRegistry, Analytics, and ModelCapabilitiesCache to reflect new provider set
- Adjust embedding token limit logic and TextProcessor safety buffer
- Update i18n messages, templates, and help texts for new provider model
- Revise tests to use OPENAI_COMPATIBLE provider instead of legacy types
- Clean up unused files, imports, and references throughout the codebase

BREAKING CHANGE: The public provider API has been refactored; legacy provider types (OLLAMA, LOCALAI, LMSTUDIO, DOCKER) are removed and replaced with OpenAI‑compatible templates. Code that previously referenced the old provider types or settings must be updated to the new template-based configuration.
@haiphucnguyen
haiphucnguyen merged commit 1968d0d into main Aug 22, 2026
10 checks passed
@haiphucnguyen
haiphucnguyen deleted the feature/convert-specific-open-ai-compatible-model-provider-to-template-form branch August 22, 2026 17:00
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.

1 participant