mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-10 13:45:44 +08:00
Refa: refine code_exec component (#13925)
### What problem does this PR solve? Refine code_exec component. ### Type of change - [x] Refactoring
This commit is contained in:
@@ -160,7 +160,7 @@ export interface ICodeForm {
|
||||
arguments: Record<string, string>;
|
||||
lang: string;
|
||||
script?: string;
|
||||
outputs: Record<string, { value: string; type: string }>;
|
||||
outputs: Record<string, { value: unknown; type: string }>;
|
||||
}
|
||||
|
||||
export interface IAgentForm {
|
||||
@@ -192,7 +192,7 @@ export interface IAgentForm {
|
||||
};
|
||||
}
|
||||
|
||||
export type BaseNodeData<TForm extends any> = {
|
||||
export type BaseNodeData<TForm = any> = {
|
||||
label: string; // operator type
|
||||
name: string; // operator name
|
||||
color?: string;
|
||||
|
||||
Reference in New Issue
Block a user