mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 04:30:48 +00:00
refactor: Centralize tool scheduling logic and simplify React hook (#670)
This commit is contained in:
parent
edc12e416d
commit
f2a8d39f42
9 changed files with 938 additions and 758 deletions
|
|
@ -218,7 +218,7 @@ export interface ToolMcpConfirmationDetails {
|
|||
serverName: string;
|
||||
toolName: string;
|
||||
toolDisplayName: string;
|
||||
onConfirm: (outcome: ToolConfirmationOutcome) => Promise<void> | void;
|
||||
onConfirm: (outcome: ToolConfirmationOutcome) => Promise<void>;
|
||||
}
|
||||
|
||||
export type ToolCallConfirmationDetails =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue