Defines agent configuration and status types for interactive agents
// Source: https://github.com/QwenLM/qwen-code | 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.
/**
* @license
* Copyright 2025 Qwen
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @fileoverview Agent runtime types.
*
* Contains the canonical definitions for agent configuration (prompt, model,
* run, tool), termination modes, and interactive agent types.
*/
import type { Content, FunctionDeclaration } from '@google/genai';
import type { ReasoningEffort } from '../../core/reasoning-effort.js';
// ─── Agent Configuration ─────────────────────────────────────
/**
* Configures the initial prompt for an agent.
*/
export interface PromptConfig {
/**
* A single system p
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key