Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No work upload files 0G plugin #3576

Open
mioku50 opened this issue Feb 18, 2025 · 1 comment
Open

No work upload files 0G plugin #3576

mioku50 opened this issue Feb 18, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@mioku50
Copy link

mioku50 commented Feb 18, 2025

["✓ Normalized action: zgupload"]

 ["ℹ Executing handler for action: ZG_UPLOAD"]

 ℹ INFORMATIONS
   ZG_UPLOAD action started
   {"messageId":"dd1a0a90-4dbe-00c8-9e72-5ffbfa88c53c","hasState":true,"hasCallback":true}

Error in generateObject: InvalidArgumentError [AI_InvalidArgumentError]: Invalid argument for parameter schema: Schema is required for object output.
    at validateObjectGenerationInput (file:///home/mioku/0g-eliza/packages/core/node_modules/ai/dist/index.mjs:1955:13)
    at generateObject (file:///home/mioku/0g-eliza/packages/core/node_modules/ai/dist/index.mjs:2051:3)
    at handleOpenAI (file:///home/mioku/0g-eliza/packages/core/dist/index.js:29609:18)
    at handleProvider (file:///home/mioku/0g-eliza/packages/core/dist/index.js:29573:26)
    at generateObject (file:///home/mioku/0g-eliza/packages/core/dist/index.js:29535:32)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async Object.handler (file:///home/mioku/0g-eliza/packages/plugin-0g/dist/index.js:321:29)
    at async AgentRuntime.processActions (file:///home/mioku/0g-eliza/packages/core/dist/index.js:30964:17)
    at async file:///home/mioku/0g-eliza/packages/client-direct/dist/index.js:4490:13 {
  cause: undefined,
  parameter: 'schema',
  value: undefined,
  [Symbol(vercel.ai.error)]: true,
  [Symbol(vercel.ai.error.AI_InvalidArgumentError)]: true
}
 Regardless of the model, OpenAI, Anthropic, Grok, this error keeps occurring.

@mioku50 mioku50 added the bug Something isn't working label Feb 18, 2025
Copy link
Contributor

Hello @mioku50! Welcome to the elizaOS community. Thank you for opening your first issue; we appreciate your contribution. You are now an elizaOS contributor!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant