한신대 피드백 개선팩 반영

This commit is contained in:
Yun Chan 2026-07-03 19:53:14 +09:00
parent 5a9c110c11
commit 6b6241f468
25 changed files with 1247 additions and 94 deletions

View file

@ -4006,6 +4006,8 @@ export interface components {
crisis_resource?: components["schemas"]["CrisisResourceResponse"] | null;
/** Effective Openness */
effective_openness: number;
/** Output Error */
output_error?: string | null;
/**
* Safety Flagged
* @default false

View file

@ -278,6 +278,7 @@ export interface SessionStreamDone {
crisis_kind?: string;
crisis_resource?: CrisisResource | null;
conversation_stopped?: boolean;
output_error?: string | null;
}
function safeParse(data: string): unknown {
@ -346,6 +347,7 @@ export async function openSessionStream(
crisis_kind: parsed.crisis_kind,
crisis_resource: parsed.crisis_resource,
conversation_stopped: parsed.conversation_stopped,
output_error: parsed.output_error,
};
handlers.onDone?.(donePayload);
return;