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
OPENAI_API_KEY=$(cat .openai-key) deno run --allow-all nov25-third.ts
PROBLEM: solve this
error: Uncaught (in promise) TypeError: _missingExportShim is not a function
return _missingExportShim(this.zodSchema);
^
at ZodSchema.getJsonSchema (https://dev.jspm.io/npm:modelfusion@0.80.0/_/EQpO4pnp.js:79:16)
at https://dev.jspm.io/npm:modelfusion@0.80.0:7555:49
at Array.map (<anonymous>)
at OpenAIChatModel.doGenerateToolCallsOrText (https://dev.jspm.io/npm:modelfusion@0.80.0:7550:26)
The text was updated successfully, but these errors were encountered:
Following code taken from example and adopted to Deno https://github.com/lgrammel/modelfusion/blob/main/examples/middle-school-math-agent/src/MiddleSchoolMathOpenAITools.ts
And probably the error is triggered when running around here https://github.com/lgrammel/modelfusion/blob/61562b19863b8ad7c990a0af920a93dc94594941/src/tool/generate-tool-calls-or-text/generateToolCallsOrText.ts#L139C45-L139C53
The text was updated successfully, but these errors were encountered: