✅ 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:
61
node_modules/openai/resources/beta/threads/runs/steps.d.ts
generated
vendored
61
node_modules/openai/resources/beta/threads/runs/steps.d.ts
generated
vendored
@@ -1,9 +1,8 @@
|
||||
import { APIResource } from "../../../../core/resource.js";
|
||||
import { APIResource } from "../../../../resource.js";
|
||||
import * as Core from "../../../../core.js";
|
||||
import * as StepsAPI from "./steps.js";
|
||||
import * as Shared from "../../../shared.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 { CursorPage, type CursorPageParams } from "../../../../pagination.js";
|
||||
/**
|
||||
* @deprecated The Assistants API is deprecated in favor of the Responses API
|
||||
*/
|
||||
@@ -13,15 +12,18 @@ export declare class Steps extends APIResource {
|
||||
*
|
||||
* @deprecated The Assistants API is deprecated in favor of the Responses API
|
||||
*/
|
||||
retrieve(stepID: string, params: StepRetrieveParams, options?: RequestOptions): APIPromise<RunStep>;
|
||||
retrieve(threadId: string, runId: string, stepId: string, query?: StepRetrieveParams, options?: Core.RequestOptions): Core.APIPromise<RunStep>;
|
||||
retrieve(threadId: string, runId: string, stepId: string, options?: Core.RequestOptions): Core.APIPromise<RunStep>;
|
||||
/**
|
||||
* Returns a list of run steps belonging to a run.
|
||||
*
|
||||
* @deprecated The Assistants API is deprecated in favor of the Responses API
|
||||
*/
|
||||
list(runID: string, params: StepListParams, options?: RequestOptions): PagePromise<RunStepsPage, RunStep>;
|
||||
list(threadId: string, runId: string, query?: StepListParams, options?: Core.RequestOptions): Core.PagePromise<RunStepsPage, RunStep>;
|
||||
list(threadId: string, runId: string, options?: Core.RequestOptions): Core.PagePromise<RunStepsPage, RunStep>;
|
||||
}
|
||||
export declare class RunStepsPage extends CursorPage<RunStep> {
|
||||
}
|
||||
export type RunStepsPage = CursorPage<RunStep>;
|
||||
/**
|
||||
* Text output from the Code Interpreter tool call as part of a run step.
|
||||
*/
|
||||
@@ -199,10 +201,9 @@ export declare namespace FileSearchToolCall {
|
||||
*/
|
||||
interface RankingOptions {
|
||||
/**
|
||||
* The ranker to use for the file search. If not specified will use the `auto`
|
||||
* ranker.
|
||||
* The ranker used for the file search.
|
||||
*/
|
||||
ranker: 'auto' | 'default_2024_08_21';
|
||||
ranker: 'default_2024_08_21';
|
||||
/**
|
||||
* The score threshold for the file search. All values must be a floating point
|
||||
* number between 0 and 1.
|
||||
@@ -561,18 +562,9 @@ export interface ToolCallsStepDetails {
|
||||
}
|
||||
export interface StepRetrieveParams {
|
||||
/**
|
||||
* Path param: The ID of the thread to which the run and run step belongs.
|
||||
*/
|
||||
thread_id: string;
|
||||
/**
|
||||
* Path param: The ID of the run to which the run step belongs.
|
||||
*/
|
||||
run_id: string;
|
||||
/**
|
||||
* Query param: A list of additional fields to include in the response. Currently
|
||||
* the only supported value is
|
||||
* `step_details.tool_calls[*].file_search.results[*].content` to fetch the file
|
||||
* search result content.
|
||||
* A list of additional fields to include in the response. Currently the only
|
||||
* supported value is `step_details.tool_calls[*].file_search.results[*].content`
|
||||
* to fetch the file search result content.
|
||||
*
|
||||
* See the
|
||||
* [file search tool documentation](https://platform.openai.com/docs/assistants/tools/file-search#customizing-file-search-settings)
|
||||
@@ -582,21 +574,16 @@ export interface StepRetrieveParams {
|
||||
}
|
||||
export interface StepListParams extends CursorPageParams {
|
||||
/**
|
||||
* Path param: The ID of the thread the run and run steps belong to.
|
||||
*/
|
||||
thread_id: string;
|
||||
/**
|
||||
* Query param: A cursor for use in pagination. `before` is an object ID that
|
||||
* defines your place in the list. For instance, if you make a list request and
|
||||
* receive 100 objects, starting with obj_foo, your subsequent call can include
|
||||
* before=obj_foo in order to fetch the previous page of the list.
|
||||
* A cursor for use in pagination. `before` is an object ID that defines your place
|
||||
* in the list. For instance, if you make a list request and receive 100 objects,
|
||||
* starting with obj_foo, your subsequent call can include before=obj_foo in order
|
||||
* to fetch the previous page of the list.
|
||||
*/
|
||||
before?: string;
|
||||
/**
|
||||
* Query param: A list of additional fields to include in the response. Currently
|
||||
* the only supported value is
|
||||
* `step_details.tool_calls[*].file_search.results[*].content` to fetch the file
|
||||
* search result content.
|
||||
* A list of additional fields to include in the response. Currently the only
|
||||
* supported value is `step_details.tool_calls[*].file_search.results[*].content`
|
||||
* to fetch the file search result content.
|
||||
*
|
||||
* See the
|
||||
* [file search tool documentation](https://platform.openai.com/docs/assistants/tools/file-search#customizing-file-search-settings)
|
||||
@@ -604,12 +591,12 @@ export interface StepListParams extends CursorPageParams {
|
||||
*/
|
||||
include?: Array<RunStepInclude>;
|
||||
/**
|
||||
* Query param: Sort order by the `created_at` timestamp of the objects. `asc` for
|
||||
* ascending order and `desc` for descending order.
|
||||
* Sort order by the `created_at` timestamp of the objects. `asc` for ascending
|
||||
* order and `desc` for descending order.
|
||||
*/
|
||||
order?: 'asc' | 'desc';
|
||||
}
|
||||
export declare namespace Steps {
|
||||
export { type CodeInterpreterLogs as CodeInterpreterLogs, type CodeInterpreterOutputImage as CodeInterpreterOutputImage, type CodeInterpreterToolCall as CodeInterpreterToolCall, type CodeInterpreterToolCallDelta as CodeInterpreterToolCallDelta, type FileSearchToolCall as FileSearchToolCall, type FileSearchToolCallDelta as FileSearchToolCallDelta, type FunctionToolCall as FunctionToolCall, type FunctionToolCallDelta as FunctionToolCallDelta, type MessageCreationStepDetails as MessageCreationStepDetails, type RunStep as RunStep, type RunStepDelta as RunStepDelta, type RunStepDeltaEvent as RunStepDeltaEvent, type RunStepDeltaMessageDelta as RunStepDeltaMessageDelta, type RunStepInclude as RunStepInclude, type ToolCall as ToolCall, type ToolCallDelta as ToolCallDelta, type ToolCallDeltaObject as ToolCallDeltaObject, type ToolCallsStepDetails as ToolCallsStepDetails, type RunStepsPage as RunStepsPage, type StepRetrieveParams as StepRetrieveParams, type StepListParams as StepListParams, };
|
||||
export { type CodeInterpreterLogs as CodeInterpreterLogs, type CodeInterpreterOutputImage as CodeInterpreterOutputImage, type CodeInterpreterToolCall as CodeInterpreterToolCall, type CodeInterpreterToolCallDelta as CodeInterpreterToolCallDelta, type FileSearchToolCall as FileSearchToolCall, type FileSearchToolCallDelta as FileSearchToolCallDelta, type FunctionToolCall as FunctionToolCall, type FunctionToolCallDelta as FunctionToolCallDelta, type MessageCreationStepDetails as MessageCreationStepDetails, type RunStep as RunStep, type RunStepDelta as RunStepDelta, type RunStepDeltaEvent as RunStepDeltaEvent, type RunStepDeltaMessageDelta as RunStepDeltaMessageDelta, type RunStepInclude as RunStepInclude, type ToolCall as ToolCall, type ToolCallDelta as ToolCallDelta, type ToolCallDeltaObject as ToolCallDeltaObject, type ToolCallsStepDetails as ToolCallsStepDetails, RunStepsPage as RunStepsPage, type StepRetrieveParams as StepRetrieveParams, type StepListParams as StepListParams, };
|
||||
}
|
||||
//# sourceMappingURL=steps.d.ts.map
|
||||
Reference in New Issue
Block a user