feat(M3-008): define model capability matrix (#303)
Some checks failed
ci/woodpecker/push/ci Pipeline failed
Some checks failed
ci/woodpecker/push/ci Pipeline failed
Co-authored-by: Jason Woltje <jason@diversecanvas.com> Co-committed-by: Jason Woltje <jason@diversecanvas.com>
This commit was merged in pull request #303.
This commit is contained in:
@@ -1,3 +1,22 @@
|
||||
/** Per-model capability metadata used by the routing engine */
|
||||
export interface ModelCapability {
|
||||
id: string;
|
||||
provider: string;
|
||||
displayName: string;
|
||||
tier: 'cheap' | 'standard' | 'premium' | 'local';
|
||||
contextWindow: number;
|
||||
maxOutputTokens: number;
|
||||
capabilities: {
|
||||
tools: boolean;
|
||||
vision: boolean;
|
||||
streaming: boolean;
|
||||
reasoning: boolean;
|
||||
embedding: boolean;
|
||||
};
|
||||
costPer1kInput?: number;
|
||||
costPer1kOutput?: number;
|
||||
}
|
||||
|
||||
/** Known built-in LLM provider identifiers */
|
||||
export type KnownProvider =
|
||||
| 'anthropic'
|
||||
|
||||
Reference in New Issue
Block a user