✅ Fix chat interface - restore continuous conversation flow
🎯 Major improvements to MissionControl component: - Always keep input field visible and functional after AI responses - Auto-clear input after submitting questions for better UX - Add dynamic visual indicators (first question vs follow-up) - Improve response layout with clear separation and hints - Enable proper chat-like experience for continuous learning 🌟 Additional enhancements: - Better language-specific messaging throughout interface - Clearer visual hierarchy between input and response areas - Intuitive flow that guides users to ask follow-up questions - Maintains responsive design and accessibility 🔧 Technical changes: - Enhanced MissionControl state management - Improved component layout and styling - Better TypeScript integration across components - Updated tsconfig for stricter type checking
This commit is contained in:
381
node_modules/openai/resources/evals/runs/runs.d.ts
generated
vendored
381
node_modules/openai/resources/evals/runs/runs.d.ts
generated
vendored
@@ -1,12 +1,10 @@
|
||||
import { APIResource } from "../../../core/resource.js";
|
||||
import { APIResource } from "../../../resource.js";
|
||||
import * as Core from "../../../core.js";
|
||||
import * as Shared from "../../shared.js";
|
||||
import * as ResponsesAPI from "../../responses/responses.js";
|
||||
import * as CompletionsAPI from "../../chat/completions/completions.js";
|
||||
import * as OutputItemsAPI from "./output-items.js";
|
||||
import { OutputItemListParams, OutputItemListResponse, OutputItemListResponsesPage, OutputItemRetrieveParams, OutputItemRetrieveResponse, OutputItems } from "./output-items.js";
|
||||
import { APIPromise } from "../../../core/api-promise.js";
|
||||
import { CursorPage, type CursorPageParams, PagePromise } from "../../../core/pagination.js";
|
||||
import { RequestOptions } from "../../../internal/request-options.js";
|
||||
import { OutputItemListParams, OutputItemListResponse, OutputItemListResponsesPage, OutputItemRetrieveResponse, OutputItems } from "./output-items.js";
|
||||
import { CursorPage, type CursorPageParams } from "../../../pagination.js";
|
||||
export declare class Runs extends APIResource {
|
||||
outputItems: OutputItemsAPI.OutputItems;
|
||||
/**
|
||||
@@ -14,25 +12,27 @@ export declare class Runs extends APIResource {
|
||||
* model configuration to use to test. The datasource will be validated against the
|
||||
* schema specified in the config of the evaluation.
|
||||
*/
|
||||
create(evalID: string, body: RunCreateParams, options?: RequestOptions): APIPromise<RunCreateResponse>;
|
||||
create(evalId: string, body: RunCreateParams, options?: Core.RequestOptions): Core.APIPromise<RunCreateResponse>;
|
||||
/**
|
||||
* Get an evaluation run by ID.
|
||||
*/
|
||||
retrieve(runID: string, params: RunRetrieveParams, options?: RequestOptions): APIPromise<RunRetrieveResponse>;
|
||||
retrieve(evalId: string, runId: string, options?: Core.RequestOptions): Core.APIPromise<RunRetrieveResponse>;
|
||||
/**
|
||||
* Get a list of runs for an evaluation.
|
||||
*/
|
||||
list(evalID: string, query?: RunListParams | null | undefined, options?: RequestOptions): PagePromise<RunListResponsesPage, RunListResponse>;
|
||||
list(evalId: string, query?: RunListParams, options?: Core.RequestOptions): Core.PagePromise<RunListResponsesPage, RunListResponse>;
|
||||
list(evalId: string, options?: Core.RequestOptions): Core.PagePromise<RunListResponsesPage, RunListResponse>;
|
||||
/**
|
||||
* Delete an eval run.
|
||||
*/
|
||||
delete(runID: string, params: RunDeleteParams, options?: RequestOptions): APIPromise<RunDeleteResponse>;
|
||||
del(evalId: string, runId: string, options?: Core.RequestOptions): Core.APIPromise<RunDeleteResponse>;
|
||||
/**
|
||||
* Cancel an ongoing evaluation run.
|
||||
*/
|
||||
cancel(runID: string, params: RunCancelParams, options?: RequestOptions): APIPromise<RunCancelResponse>;
|
||||
cancel(evalId: string, runId: string, options?: Core.RequestOptions): Core.APIPromise<RunCancelResponse>;
|
||||
}
|
||||
export declare class RunListResponsesPage extends CursorPage<RunListResponse> {
|
||||
}
|
||||
export type RunListResponsesPage = CursorPage<RunListResponse>;
|
||||
/**
|
||||
* A CompletionsRunDataSource object describing a model sampling configuration.
|
||||
*/
|
||||
@@ -71,12 +71,8 @@ export declare namespace CreateEvalCompletionsRunDataSource {
|
||||
}
|
||||
namespace FileContent {
|
||||
interface Content {
|
||||
item: {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
sample?: {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
item: Record<string, unknown>;
|
||||
sample?: Record<string, unknown>;
|
||||
}
|
||||
}
|
||||
interface FileID {
|
||||
@@ -188,19 +184,6 @@ export declare namespace CreateEvalCompletionsRunDataSource {
|
||||
* The maximum number of tokens in the generated output.
|
||||
*/
|
||||
max_completion_tokens?: number;
|
||||
/**
|
||||
* An object specifying the format that the model must output.
|
||||
*
|
||||
* Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured
|
||||
* Outputs which ensures the model will match your supplied JSON schema. Learn more
|
||||
* in the
|
||||
* [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).
|
||||
*
|
||||
* Setting to `{ "type": "json_object" }` enables the older JSON mode, which
|
||||
* ensures the message the model generates is valid JSON. Using `json_schema` is
|
||||
* preferred for models that support it.
|
||||
*/
|
||||
response_format?: Shared.ResponseFormatText | Shared.ResponseFormatJSONSchema | Shared.ResponseFormatJSONObject;
|
||||
/**
|
||||
* A seed value to initialize the randomness, during sampling.
|
||||
*/
|
||||
@@ -209,12 +192,6 @@ export declare namespace CreateEvalCompletionsRunDataSource {
|
||||
* A higher temperature increases randomness in the outputs.
|
||||
*/
|
||||
temperature?: number;
|
||||
/**
|
||||
* A list of tools the model may call. Currently, only functions are supported as a
|
||||
* tool. Use this to provide a list of functions the model may generate JSON inputs
|
||||
* for. A max of 128 functions are supported.
|
||||
*/
|
||||
tools?: Array<CompletionsAPI.ChatCompletionTool>;
|
||||
/**
|
||||
* An alternative to temperature for nucleus sampling; 1.0 includes all tokens.
|
||||
*/
|
||||
@@ -248,12 +225,8 @@ export declare namespace CreateEvalJSONLRunDataSource {
|
||||
}
|
||||
namespace FileContent {
|
||||
interface Content {
|
||||
item: {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
sample?: {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
item: Record<string, unknown>;
|
||||
sample?: Record<string, unknown>;
|
||||
}
|
||||
}
|
||||
interface FileID {
|
||||
@@ -385,12 +358,8 @@ export declare namespace RunCreateResponse {
|
||||
}
|
||||
namespace FileContent {
|
||||
interface Content {
|
||||
item: {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
sample?: {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
item: Record<string, unknown>;
|
||||
sample?: Record<string, unknown>;
|
||||
}
|
||||
}
|
||||
interface FileID {
|
||||
@@ -541,63 +510,11 @@ export declare namespace RunCreateResponse {
|
||||
* A higher temperature increases randomness in the outputs.
|
||||
*/
|
||||
temperature?: number;
|
||||
/**
|
||||
* Configuration options for a text response from the model. Can be plain text or
|
||||
* structured JSON data. Learn more:
|
||||
*
|
||||
* - [Text inputs and outputs](https://platform.openai.com/docs/guides/text)
|
||||
* - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs)
|
||||
*/
|
||||
text?: SamplingParams.Text;
|
||||
/**
|
||||
* An array of tools the model may call while generating a response. You can
|
||||
* specify which tool to use by setting the `tool_choice` parameter.
|
||||
*
|
||||
* The two categories of tools you can provide the model are:
|
||||
*
|
||||
* - **Built-in tools**: Tools that are provided by OpenAI that extend the model's
|
||||
* capabilities, like
|
||||
* [web search](https://platform.openai.com/docs/guides/tools-web-search) or
|
||||
* [file search](https://platform.openai.com/docs/guides/tools-file-search).
|
||||
* Learn more about
|
||||
* [built-in tools](https://platform.openai.com/docs/guides/tools).
|
||||
* - **Function calls (custom tools)**: Functions that are defined by you, enabling
|
||||
* the model to call your own code. Learn more about
|
||||
* [function calling](https://platform.openai.com/docs/guides/function-calling).
|
||||
*/
|
||||
tools?: Array<ResponsesAPI.Tool>;
|
||||
/**
|
||||
* An alternative to temperature for nucleus sampling; 1.0 includes all tokens.
|
||||
*/
|
||||
top_p?: number;
|
||||
}
|
||||
namespace SamplingParams {
|
||||
/**
|
||||
* Configuration options for a text response from the model. Can be plain text or
|
||||
* structured JSON data. Learn more:
|
||||
*
|
||||
* - [Text inputs and outputs](https://platform.openai.com/docs/guides/text)
|
||||
* - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs)
|
||||
*/
|
||||
interface Text {
|
||||
/**
|
||||
* An object specifying the format that the model must output.
|
||||
*
|
||||
* Configuring `{ "type": "json_schema" }` enables Structured Outputs, which
|
||||
* ensures the model will match your supplied JSON schema. Learn more in the
|
||||
* [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).
|
||||
*
|
||||
* The default format is `{ "type": "text" }` with no additional options.
|
||||
*
|
||||
* **Not recommended for gpt-4o and newer models:**
|
||||
*
|
||||
* Setting to `{ "type": "json_object" }` enables the older JSON mode, which
|
||||
* ensures the message the model generates is valid JSON. Using `json_schema` is
|
||||
* preferred for models that support it.
|
||||
*/
|
||||
format?: ResponsesAPI.ResponseFormatTextConfig;
|
||||
}
|
||||
}
|
||||
}
|
||||
interface PerModelUsage {
|
||||
/**
|
||||
@@ -766,12 +683,8 @@ export declare namespace RunRetrieveResponse {
|
||||
}
|
||||
namespace FileContent {
|
||||
interface Content {
|
||||
item: {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
sample?: {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
item: Record<string, unknown>;
|
||||
sample?: Record<string, unknown>;
|
||||
}
|
||||
}
|
||||
interface FileID {
|
||||
@@ -922,63 +835,11 @@ export declare namespace RunRetrieveResponse {
|
||||
* A higher temperature increases randomness in the outputs.
|
||||
*/
|
||||
temperature?: number;
|
||||
/**
|
||||
* Configuration options for a text response from the model. Can be plain text or
|
||||
* structured JSON data. Learn more:
|
||||
*
|
||||
* - [Text inputs and outputs](https://platform.openai.com/docs/guides/text)
|
||||
* - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs)
|
||||
*/
|
||||
text?: SamplingParams.Text;
|
||||
/**
|
||||
* An array of tools the model may call while generating a response. You can
|
||||
* specify which tool to use by setting the `tool_choice` parameter.
|
||||
*
|
||||
* The two categories of tools you can provide the model are:
|
||||
*
|
||||
* - **Built-in tools**: Tools that are provided by OpenAI that extend the model's
|
||||
* capabilities, like
|
||||
* [web search](https://platform.openai.com/docs/guides/tools-web-search) or
|
||||
* [file search](https://platform.openai.com/docs/guides/tools-file-search).
|
||||
* Learn more about
|
||||
* [built-in tools](https://platform.openai.com/docs/guides/tools).
|
||||
* - **Function calls (custom tools)**: Functions that are defined by you, enabling
|
||||
* the model to call your own code. Learn more about
|
||||
* [function calling](https://platform.openai.com/docs/guides/function-calling).
|
||||
*/
|
||||
tools?: Array<ResponsesAPI.Tool>;
|
||||
/**
|
||||
* An alternative to temperature for nucleus sampling; 1.0 includes all tokens.
|
||||
*/
|
||||
top_p?: number;
|
||||
}
|
||||
namespace SamplingParams {
|
||||
/**
|
||||
* Configuration options for a text response from the model. Can be plain text or
|
||||
* structured JSON data. Learn more:
|
||||
*
|
||||
* - [Text inputs and outputs](https://platform.openai.com/docs/guides/text)
|
||||
* - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs)
|
||||
*/
|
||||
interface Text {
|
||||
/**
|
||||
* An object specifying the format that the model must output.
|
||||
*
|
||||
* Configuring `{ "type": "json_schema" }` enables Structured Outputs, which
|
||||
* ensures the model will match your supplied JSON schema. Learn more in the
|
||||
* [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).
|
||||
*
|
||||
* The default format is `{ "type": "text" }` with no additional options.
|
||||
*
|
||||
* **Not recommended for gpt-4o and newer models:**
|
||||
*
|
||||
* Setting to `{ "type": "json_object" }` enables the older JSON mode, which
|
||||
* ensures the message the model generates is valid JSON. Using `json_schema` is
|
||||
* preferred for models that support it.
|
||||
*/
|
||||
format?: ResponsesAPI.ResponseFormatTextConfig;
|
||||
}
|
||||
}
|
||||
}
|
||||
interface PerModelUsage {
|
||||
/**
|
||||
@@ -1147,12 +1008,8 @@ export declare namespace RunListResponse {
|
||||
}
|
||||
namespace FileContent {
|
||||
interface Content {
|
||||
item: {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
sample?: {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
item: Record<string, unknown>;
|
||||
sample?: Record<string, unknown>;
|
||||
}
|
||||
}
|
||||
interface FileID {
|
||||
@@ -1303,63 +1160,11 @@ export declare namespace RunListResponse {
|
||||
* A higher temperature increases randomness in the outputs.
|
||||
*/
|
||||
temperature?: number;
|
||||
/**
|
||||
* Configuration options for a text response from the model. Can be plain text or
|
||||
* structured JSON data. Learn more:
|
||||
*
|
||||
* - [Text inputs and outputs](https://platform.openai.com/docs/guides/text)
|
||||
* - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs)
|
||||
*/
|
||||
text?: SamplingParams.Text;
|
||||
/**
|
||||
* An array of tools the model may call while generating a response. You can
|
||||
* specify which tool to use by setting the `tool_choice` parameter.
|
||||
*
|
||||
* The two categories of tools you can provide the model are:
|
||||
*
|
||||
* - **Built-in tools**: Tools that are provided by OpenAI that extend the model's
|
||||
* capabilities, like
|
||||
* [web search](https://platform.openai.com/docs/guides/tools-web-search) or
|
||||
* [file search](https://platform.openai.com/docs/guides/tools-file-search).
|
||||
* Learn more about
|
||||
* [built-in tools](https://platform.openai.com/docs/guides/tools).
|
||||
* - **Function calls (custom tools)**: Functions that are defined by you, enabling
|
||||
* the model to call your own code. Learn more about
|
||||
* [function calling](https://platform.openai.com/docs/guides/function-calling).
|
||||
*/
|
||||
tools?: Array<ResponsesAPI.Tool>;
|
||||
/**
|
||||
* An alternative to temperature for nucleus sampling; 1.0 includes all tokens.
|
||||
*/
|
||||
top_p?: number;
|
||||
}
|
||||
namespace SamplingParams {
|
||||
/**
|
||||
* Configuration options for a text response from the model. Can be plain text or
|
||||
* structured JSON data. Learn more:
|
||||
*
|
||||
* - [Text inputs and outputs](https://platform.openai.com/docs/guides/text)
|
||||
* - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs)
|
||||
*/
|
||||
interface Text {
|
||||
/**
|
||||
* An object specifying the format that the model must output.
|
||||
*
|
||||
* Configuring `{ "type": "json_schema" }` enables Structured Outputs, which
|
||||
* ensures the model will match your supplied JSON schema. Learn more in the
|
||||
* [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).
|
||||
*
|
||||
* The default format is `{ "type": "text" }` with no additional options.
|
||||
*
|
||||
* **Not recommended for gpt-4o and newer models:**
|
||||
*
|
||||
* Setting to `{ "type": "json_object" }` enables the older JSON mode, which
|
||||
* ensures the message the model generates is valid JSON. Using `json_schema` is
|
||||
* preferred for models that support it.
|
||||
*/
|
||||
format?: ResponsesAPI.ResponseFormatTextConfig;
|
||||
}
|
||||
}
|
||||
}
|
||||
interface PerModelUsage {
|
||||
/**
|
||||
@@ -1533,12 +1338,8 @@ export declare namespace RunCancelResponse {
|
||||
}
|
||||
namespace FileContent {
|
||||
interface Content {
|
||||
item: {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
sample?: {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
item: Record<string, unknown>;
|
||||
sample?: Record<string, unknown>;
|
||||
}
|
||||
}
|
||||
interface FileID {
|
||||
@@ -1689,63 +1490,11 @@ export declare namespace RunCancelResponse {
|
||||
* A higher temperature increases randomness in the outputs.
|
||||
*/
|
||||
temperature?: number;
|
||||
/**
|
||||
* Configuration options for a text response from the model. Can be plain text or
|
||||
* structured JSON data. Learn more:
|
||||
*
|
||||
* - [Text inputs and outputs](https://platform.openai.com/docs/guides/text)
|
||||
* - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs)
|
||||
*/
|
||||
text?: SamplingParams.Text;
|
||||
/**
|
||||
* An array of tools the model may call while generating a response. You can
|
||||
* specify which tool to use by setting the `tool_choice` parameter.
|
||||
*
|
||||
* The two categories of tools you can provide the model are:
|
||||
*
|
||||
* - **Built-in tools**: Tools that are provided by OpenAI that extend the model's
|
||||
* capabilities, like
|
||||
* [web search](https://platform.openai.com/docs/guides/tools-web-search) or
|
||||
* [file search](https://platform.openai.com/docs/guides/tools-file-search).
|
||||
* Learn more about
|
||||
* [built-in tools](https://platform.openai.com/docs/guides/tools).
|
||||
* - **Function calls (custom tools)**: Functions that are defined by you, enabling
|
||||
* the model to call your own code. Learn more about
|
||||
* [function calling](https://platform.openai.com/docs/guides/function-calling).
|
||||
*/
|
||||
tools?: Array<ResponsesAPI.Tool>;
|
||||
/**
|
||||
* An alternative to temperature for nucleus sampling; 1.0 includes all tokens.
|
||||
*/
|
||||
top_p?: number;
|
||||
}
|
||||
namespace SamplingParams {
|
||||
/**
|
||||
* Configuration options for a text response from the model. Can be plain text or
|
||||
* structured JSON data. Learn more:
|
||||
*
|
||||
* - [Text inputs and outputs](https://platform.openai.com/docs/guides/text)
|
||||
* - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs)
|
||||
*/
|
||||
interface Text {
|
||||
/**
|
||||
* An object specifying the format that the model must output.
|
||||
*
|
||||
* Configuring `{ "type": "json_schema" }` enables Structured Outputs, which
|
||||
* ensures the model will match your supplied JSON schema. Learn more in the
|
||||
* [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).
|
||||
*
|
||||
* The default format is `{ "type": "text" }` with no additional options.
|
||||
*
|
||||
* **Not recommended for gpt-4o and newer models:**
|
||||
*
|
||||
* Setting to `{ "type": "json_object" }` enables the older JSON mode, which
|
||||
* ensures the message the model generates is valid JSON. Using `json_schema` is
|
||||
* preferred for models that support it.
|
||||
*/
|
||||
format?: ResponsesAPI.ResponseFormatTextConfig;
|
||||
}
|
||||
}
|
||||
}
|
||||
interface PerModelUsage {
|
||||
/**
|
||||
@@ -1867,12 +1616,8 @@ export declare namespace RunCreateParams {
|
||||
}
|
||||
namespace FileContent {
|
||||
interface Content {
|
||||
item: {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
sample?: {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
item: Record<string, unknown>;
|
||||
sample?: Record<string, unknown>;
|
||||
}
|
||||
}
|
||||
interface FileID {
|
||||
@@ -2023,71 +1768,13 @@ export declare namespace RunCreateParams {
|
||||
* A higher temperature increases randomness in the outputs.
|
||||
*/
|
||||
temperature?: number;
|
||||
/**
|
||||
* Configuration options for a text response from the model. Can be plain text or
|
||||
* structured JSON data. Learn more:
|
||||
*
|
||||
* - [Text inputs and outputs](https://platform.openai.com/docs/guides/text)
|
||||
* - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs)
|
||||
*/
|
||||
text?: SamplingParams.Text;
|
||||
/**
|
||||
* An array of tools the model may call while generating a response. You can
|
||||
* specify which tool to use by setting the `tool_choice` parameter.
|
||||
*
|
||||
* The two categories of tools you can provide the model are:
|
||||
*
|
||||
* - **Built-in tools**: Tools that are provided by OpenAI that extend the model's
|
||||
* capabilities, like
|
||||
* [web search](https://platform.openai.com/docs/guides/tools-web-search) or
|
||||
* [file search](https://platform.openai.com/docs/guides/tools-file-search).
|
||||
* Learn more about
|
||||
* [built-in tools](https://platform.openai.com/docs/guides/tools).
|
||||
* - **Function calls (custom tools)**: Functions that are defined by you, enabling
|
||||
* the model to call your own code. Learn more about
|
||||
* [function calling](https://platform.openai.com/docs/guides/function-calling).
|
||||
*/
|
||||
tools?: Array<ResponsesAPI.Tool>;
|
||||
/**
|
||||
* An alternative to temperature for nucleus sampling; 1.0 includes all tokens.
|
||||
*/
|
||||
top_p?: number;
|
||||
}
|
||||
namespace SamplingParams {
|
||||
/**
|
||||
* Configuration options for a text response from the model. Can be plain text or
|
||||
* structured JSON data. Learn more:
|
||||
*
|
||||
* - [Text inputs and outputs](https://platform.openai.com/docs/guides/text)
|
||||
* - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs)
|
||||
*/
|
||||
interface Text {
|
||||
/**
|
||||
* An object specifying the format that the model must output.
|
||||
*
|
||||
* Configuring `{ "type": "json_schema" }` enables Structured Outputs, which
|
||||
* ensures the model will match your supplied JSON schema. Learn more in the
|
||||
* [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).
|
||||
*
|
||||
* The default format is `{ "type": "text" }` with no additional options.
|
||||
*
|
||||
* **Not recommended for gpt-4o and newer models:**
|
||||
*
|
||||
* Setting to `{ "type": "json_object" }` enables the older JSON mode, which
|
||||
* ensures the message the model generates is valid JSON. Using `json_schema` is
|
||||
* preferred for models that support it.
|
||||
*/
|
||||
format?: ResponsesAPI.ResponseFormatTextConfig;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
export interface RunRetrieveParams {
|
||||
/**
|
||||
* The ID of the evaluation to retrieve runs for.
|
||||
*/
|
||||
eval_id: string;
|
||||
}
|
||||
export interface RunListParams extends CursorPageParams {
|
||||
/**
|
||||
* Sort order for runs by timestamp. Use `asc` for ascending order or `desc` for
|
||||
@@ -2100,20 +1787,8 @@ export interface RunListParams extends CursorPageParams {
|
||||
*/
|
||||
status?: 'queued' | 'in_progress' | 'completed' | 'canceled' | 'failed';
|
||||
}
|
||||
export interface RunDeleteParams {
|
||||
/**
|
||||
* The ID of the evaluation to delete the run from.
|
||||
*/
|
||||
eval_id: string;
|
||||
}
|
||||
export interface RunCancelParams {
|
||||
/**
|
||||
* The ID of the evaluation whose run you want to cancel.
|
||||
*/
|
||||
eval_id: string;
|
||||
}
|
||||
export declare namespace Runs {
|
||||
export { type CreateEvalCompletionsRunDataSource as CreateEvalCompletionsRunDataSource, type CreateEvalJSONLRunDataSource as CreateEvalJSONLRunDataSource, type EvalAPIError as EvalAPIError, type RunCreateResponse as RunCreateResponse, type RunRetrieveResponse as RunRetrieveResponse, type RunListResponse as RunListResponse, type RunDeleteResponse as RunDeleteResponse, type RunCancelResponse as RunCancelResponse, type RunListResponsesPage as RunListResponsesPage, type RunCreateParams as RunCreateParams, type RunRetrieveParams as RunRetrieveParams, type RunListParams as RunListParams, type RunDeleteParams as RunDeleteParams, type RunCancelParams as RunCancelParams, };
|
||||
export { OutputItems as OutputItems, type OutputItemRetrieveResponse as OutputItemRetrieveResponse, type OutputItemListResponse as OutputItemListResponse, type OutputItemListResponsesPage as OutputItemListResponsesPage, type OutputItemRetrieveParams as OutputItemRetrieveParams, type OutputItemListParams as OutputItemListParams, };
|
||||
export { type CreateEvalCompletionsRunDataSource as CreateEvalCompletionsRunDataSource, type CreateEvalJSONLRunDataSource as CreateEvalJSONLRunDataSource, type EvalAPIError as EvalAPIError, type RunCreateResponse as RunCreateResponse, type RunRetrieveResponse as RunRetrieveResponse, type RunListResponse as RunListResponse, type RunDeleteResponse as RunDeleteResponse, type RunCancelResponse as RunCancelResponse, RunListResponsesPage as RunListResponsesPage, type RunCreateParams as RunCreateParams, type RunListParams as RunListParams, };
|
||||
export { OutputItems as OutputItems, type OutputItemRetrieveResponse as OutputItemRetrieveResponse, type OutputItemListResponse as OutputItemListResponse, OutputItemListResponsesPage as OutputItemListResponsesPage, type OutputItemListParams as OutputItemListParams, };
|
||||
}
|
||||
//# sourceMappingURL=runs.d.ts.map
|
||||
Reference in New Issue
Block a user