docs(mode): align review surface contracts

This commit is contained in:
Tianyi Cui
2026-07-20 22:34:09 +08:00
parent af69518947
commit deed5784d9
2 changed files with 5 additions and 5 deletions

View File

@@ -20,12 +20,12 @@ interface AskUserQuestionOption {
## Question item ## Question item
`AskUserQuestionItem` is one question in a request. The model supplies a stable `id`, which is echoed back with the answer so batched questions remain routable. Optional `detail` carries supporting text that providers render with the question but keep out of selectable option labels. `AskUserQuestionItem` is one question in a request. The caller supplies a stable `id`, which is echoed back with the answer so batched questions remain routable. Optional `detail` carries supporting text that providers render with the question but keep out of selectable option labels.
```ts type-equiv ```ts type-equiv
/** One question in an ask_user_question request. */ /** One question in a user-interaction request. */
interface AskUserQuestionItem { interface AskUserQuestionItem {
/** Stable model-provided question id, echoed in the answer. */ /** Stable caller-provided question id, echoed in the answer. */
id: string id: string
/** The question to display. */ /** The question to display. */
question: string question: string

View File

@@ -25,9 +25,9 @@ export interface AskUserQuestionOption {
description?: string description?: string
} }
/** One question in an ask_user_question request. */ /** One question in a user-interaction request. */
export interface AskUserQuestionItem { export interface AskUserQuestionItem {
/** Stable model-provided question id, echoed in the answer. */ /** Stable caller-provided question id, echoed in the answer. */
id: string id: string
/** The question to display. */ /** The question to display. */
question: string question: string