creator/models.ts

QwenPaw · plugins/apps/qwenpaw-creator/ui/src/contracts/creator/models.ts · typescript · Apache-2.0
ai

TypeScript interfaces for model and OSS configuration in the creator app.

// Source: https://github.com/agentscope-ai/QwenPaw | 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.
export interface ModelConfigItem {
  enabled: boolean;
  model_name: string;
  api_key: string;
  base_url: string;
  protocol: string;
  custom_protocol: string;
}

export interface OssConfig {
  enabled: boolean;
  access_key_id: string;
  access_key_secret: string;
  endpoint: string;
  bucket: string;
  public_base_url: string;
  policy_api_key: string;
}

export interface GroundingConfig extends ModelConfigItem {
  reuse_llm: boolean;
  validation_source: "llm" | "vlm" | "custom";
  tavily_api_key: string;
  serper_api_key: string;
  native_search_enabled: boolean;
  search_pro

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

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

Get a free API key