src/types.ts

UI-TARS-desktop · multimodal/tarko/model-provider/src/types.ts · typescript · Apache-2.0
ai

Copyright (c) 2025 Bytedance, Inc. and its affiliates. SPDX-License-Identifier: Apache-2.0 /

// Source: https://github.com/bytedance/UI-TARS-desktop | 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.
/*
 * Copyright (c) 2025 Bytedance, Inc. and its affiliates.
 * SPDX-License-Identifier: Apache-2.0
 */

import { ChatCompletionMessageParam } from 'openai/resources';
import type { ChatCompletionCreateParamsBase } from 'openai/resources/chat/completions';
import type { models } from '@tarko/llm-client';

export * from './third-party';

/**
 * The base underlying model provider
 */
export type BaseModelProviderName = keyof typeof models;

/**
 * All Model Providers, including some providers that align with OpenAI compatibility
 */
export type ModelProviderName =
  | BaseModelPro

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

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

Get a free API key