fix: api dataset (#6551)

* fix: api dataset

* Update packages/global/core/chat/type.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Archer
2026-03-12 20:51:00 +08:00
committed by GitHub
parent 57489c2f8c
commit 4b4f856e16
19 changed files with 43 additions and 22 deletions
@@ -12,9 +12,11 @@ type RunCodeType = ModuleDispatchProps<{
}>;
type RunCodeResponse = DispatchNodeResultType<
{
[NodeOutputKeyEnum.error]?: any; // @deprecated
[NodeOutputKeyEnum.rawResponse]?: Record<string, any>;
[key: string]: any;
/** @deprecated */
[NodeOutputKeyEnum.error]?: any;
},
{
[NodeOutputKeyEnum.error]: string;