You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the following error when passing it into the invoke or passthrough nodes: Type 'InputWithDefault<boolean>' is not assignable to type '(InputWithDefault<boolean> & string) | (InputWithDefault<boolean> & number) | (InputWithDefault<boolean> & false) | ... 27 more ... | (InputWithDefault<...> & Convergence<...>)'. Type 'InputWithDefault<boolean>' is not assignable to type '(InputWithDefault<boolean> & string) | (InputWithDefault<boolean> & number) | (InputWithDefault<boolean> & false) | ... 23 more ... | (InputWithDefault<...> & Convergence<...>)'. Type 'InputWithDefault<boolean>' is not assignable to type 'InputWithDefault<boolean> & Convergence<{ [K: string]: JsonSerializable; }>'. Type 'InputWithDefault<boolean>' is missing the following properties from type 'Convergence<{ [K: string]: JsonSerializable; }>': __isConvergence, portsts(2322)
Came across this error when migrating the 'Text Generator' (
./packages/breadboard-web/src/boards/text-generator.ts
) board to the build API.The
useStreaming
input is boolean type, defaulting tofalse
.I get the following error when passing it into the
invoke
orpassthrough
nodes:Type 'InputWithDefault<boolean>' is not assignable to type '(InputWithDefault<boolean> & string) | (InputWithDefault<boolean> & number) | (InputWithDefault<boolean> & false) | ... 27 more ... | (InputWithDefault<...> & Convergence<...>)'. Type 'InputWithDefault<boolean>' is not assignable to type '(InputWithDefault<boolean> & string) | (InputWithDefault<boolean> & number) | (InputWithDefault<boolean> & false) | ... 23 more ... | (InputWithDefault<...> & Convergence<...>)'. Type 'InputWithDefault<boolean>' is not assignable to type 'InputWithDefault<boolean> & Convergence<{ [K: string]: JsonSerializable; }>'. Type 'InputWithDefault<boolean>' is missing the following properties from type 'Convergence<{ [K: string]: JsonSerializable; }>': __isConvergence, portsts(2322)
Full code example here:
The text was updated successfully, but these errors were encountered: