feat(providers): add ollama

This commit is contained in:
ItzCrazyKns
2025-10-18 15:08:06 +05:30
parent 43f23e21a3
commit 8a1052e82b
2 changed files with 137 additions and 0 deletions

View File

@@ -1,9 +1,11 @@
import { ModelProviderUISection } from '@/lib/config/types';
import { ProviderConstructor } from './baseProvider';
import OpenAIProvider from './openai';
import OllamaProvider from './ollama';
export const providers: Record<string, ProviderConstructor<any>> = {
openai: OpenAIProvider,
ollama: OllamaProvider
};
export const getModelProvidersUIConfigSection =