mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-16 20:01:27 +00:00
fix: add ServerStatus and ServerStatusInfo to OpenAPI schemas
This commit is contained in:
parent
2a922ef562
commit
d5e2a27a5f
3 changed files with 1012 additions and 185 deletions
|
|
@ -65,6 +65,8 @@ export interface components {
|
|||
questions: boolean;
|
||||
reasoning: boolean;
|
||||
sessionLifecycle: boolean;
|
||||
/** @description Whether this agent uses a shared long-running server process (vs per-turn subprocess) */
|
||||
sharedProcess: boolean;
|
||||
streamingDeltas: boolean;
|
||||
textMessages: boolean;
|
||||
toolCalls: boolean;
|
||||
|
|
@ -82,6 +84,7 @@ export interface components {
|
|||
id: string;
|
||||
installed: boolean;
|
||||
path?: string | null;
|
||||
serverStatus?: components["schemas"]["ServerStatusInfo"] | null;
|
||||
version?: string | null;
|
||||
};
|
||||
AgentInstallRequest: {
|
||||
|
|
@ -235,6 +238,20 @@ export interface components {
|
|||
QuestionStatus: "requested" | "answered" | "rejected";
|
||||
/** @enum {string} */
|
||||
ReasoningVisibility: "public" | "private";
|
||||
/**
|
||||
* @description Status of a shared server process for an agent
|
||||
* @enum {string}
|
||||
*/
|
||||
ServerStatus: "running" | "stopped" | "error";
|
||||
ServerStatusInfo: {
|
||||
baseUrl?: string | null;
|
||||
lastError?: string | null;
|
||||
/** Format: int64 */
|
||||
restartCount: number;
|
||||
status: components["schemas"]["ServerStatus"];
|
||||
/** Format: int64 */
|
||||
uptimeMs?: number | null;
|
||||
};
|
||||
/** @enum {string} */
|
||||
SessionEndReason: "completed" | "error" | "terminated";
|
||||
SessionEndedData: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue