API-Explorer-II/server/schema/OpeySchema.ts
2025-02-11 17:12:07 +00:00

26 lines
460 B
TypeScript

export class UserInput {
message: string;
thread_id?: string | null;
is_tool_call_approval: boolean;
}
export class StreamInput extends UserInput {
stream_tokens: boolean;
}
export type OpeyConfig = {
baseUri: string,
authConfig: any,
paths: {
stream: string,
invoke: string,
approve_tool: string,
feedback: string,
}
}
export type AuthConfig = {
consentId: string,
opeyJWT: string,
}