expansion-inference/index.ts

multivibe · src/ai-sdk/expansion-inference/index.ts · typescript · Apache-2.0
ai

Exports provider and model catalogs for ExpansionInference AI services.

// Source: https://github.com/thibautrey/multivibe | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
import type { Account, UsageSnapshot } from "../../types.js";
import type { SdkProviderDiscoveryMetadata } from "../provider-definition.js";

export type ExpansionInferenceProvider = SdkProviderDiscoveryMetadata & {
  id: string;
  name: string;
  adapter: "compatible" | "anthropic";
  baseURL: string;
};

export type ExpansionInferenceModel = {
  id: string;
  name: string;
  input: string[];
  context?: number;
  output?: number;
  tools?: boolean;
  reasoning?: boolean;
  cost?: Record<string, number>;
};

export type ExpansionInferenceCatalog = {
  source: string;
  fetchedAt: st

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key