feat(providers): add Codex and Ollama provider runners with message adapters
This commit is contained in:
parent
4ae7ca6634
commit
3e34fda59a
9 changed files with 985 additions and 2 deletions
20
v2/src/lib/providers/ollama.ts
Normal file
20
v2/src/lib/providers/ollama.ts
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
// Ollama Provider — metadata and capabilities for local Ollama models
|
||||
|
||||
import type { ProviderMeta } from './types';
|
||||
|
||||
export const OLLAMA_PROVIDER: ProviderMeta = {
|
||||
id: 'ollama',
|
||||
name: 'Ollama',
|
||||
description: 'Local Ollama models via REST API',
|
||||
capabilities: {
|
||||
hasProfiles: false,
|
||||
hasSkills: false,
|
||||
hasModelSelection: true,
|
||||
hasSandbox: false,
|
||||
supportsSubagents: false,
|
||||
supportsCost: false,
|
||||
supportsResume: false,
|
||||
},
|
||||
sidecarRunner: 'ollama-runner.mjs',
|
||||
defaultModel: 'qwen3:8b',
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue