prompt in green background #70
Annotations
10 errors and 1 warning
Build:
src/components/App.tsx#L1
Argument of type '{ id: string; x: number; y: number; fluxNodeType: FluxNodeType; input: any; text: string; streamId: string; steps: any[]; solutions: any[]; style: { background: string; }; errors: any[]; explanations: any[]; }' is not assignable to parameter of type 'Partial<Node>'.
|
Build:
src/components/App.tsx#L1
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ "HumanEval/0": { task_id: string; prompt: string; entry_point: string; canonical_solution: string; test: string; }; "HumanEval/1": { task_id: string; prompt: string; entry_point: string; canonical_solution: string; test: string; }; ... 161 more ...; "HumanEval/163": { ...; }; }'.
|
Build:
src/components/App.tsx#L1
Expected 3 arguments, but got 2.
|
Build:
src/components/App.tsx#L1
Element implicitly has an 'any' type because expression of type 'any' can't be used to index type '{ "HumanEval/0": { task_id: string; prompt: string; entry_point: string; canonical_solution: string; test: string; }; "HumanEval/1": { task_id: string; prompt: string; entry_point: string; canonical_solution: string; test: string; }; ... 161 more ...; "HumanEval/163": { ...; }; }'.
|
Build:
src/components/App.tsx#L1
Argument of type '({ id, x, y, fluxNodeType, input, text, streamId, steps, solutions, style, errors, explanations, }: { id?: string | undefined; x: number; y: number; fluxNodeType: FluxNodeType; input: string; text: string; streamId?: string | undefined; steps: string[]; solutions?: string[] | undefined; style: any; errors: string[];...' is not assignable to parameter of type '(node: Partial<Node>) => Node'.
|
Build:
src/components/App.tsx#L1
Argument of type 'Node[]' is not assignable to parameter of type 'SetStateAction<never[]>'.
|
Build:
src/components/App.tsx#L1
Type '{ selectNode: (id: string, computeNewNodes?: ((currNodes: Node<ToTNodeData>[]) => Node<ToTNodeData>[]) | undefined) => void; lineage: Node<ToTNodeData>[]; ... 4 more ...; edges: Edge<...>[]; }' is missing the following properties from type '{ lineage: Node<ToTNodeData>[] | null; settings: Settings; setSettings: (settings: Settings) => void; isGPT4: boolean; submitPrompt: () => Promise<void>; ... 4 more ...; edges: Edge[]; }': settings, setSettings, isGPT4
|
Build:
src/components/NodeInfo.tsx#L1
'lineage' is possibly 'null'.
|
Build:
src/components/NodeInfo.tsx#L1
'lineage' is possibly 'null'.
|
Build:
src/components/NodeInfo.tsx#L1
Type 'Background<string | number>' is not assignable to type 'ResponsiveValue<Color | "current" | "whiteAlpha.50" | "whiteAlpha.100" | "whiteAlpha.200" | "whiteAlpha.300" | "whiteAlpha.400" | "whiteAlpha.500" | "whiteAlpha.600" | "whiteAlpha.700" | ... 185 more ... | "chakra-placeholder-color._dark"> | undefined'.
|
Build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|