move providers to their own folder

This commit is contained in:
perf3ct
2025-03-11 17:30:50 +00:00
parent d413e6015a
commit ff679b00b6
5 changed files with 13 additions and 13 deletions

View File

@@ -1,8 +1,8 @@
import options from '../options.js';
import type { AIService, ChatCompletionOptions, ChatResponse, Message } from './ai_interface.js';
import { OpenAIService } from './openai_service.js';
import { AnthropicService } from './anthropic_service.js';
import { OllamaService } from './ollama_service.js';
import { OpenAIService } from './providers/openai_service.js';
import { AnthropicService } from './providers/anthropic_service.js';
import { OllamaService } from './providers/ollama_service.js';
import log from '../log.js';
type ServiceProviders = 'openai' | 'anthropic' | 'ollama';