🚀 Feature Request: AI SDK v5 Compatibility for @goat-sdk/adapter-vercel-ai
Problem
Cannot use GOAT SDK with AI SDK v5 due to compatibility issues:
@goat-sdk/adapter-vercel-ai@0.2.10 requires ai: ^4.0.3
- AI SDK v5 (
ai: ^5.0.0) introduces stricter schema validation
- Runtime errors occur when using wallet tools:
Error: Invalid schema for function 'sign_message': schema must be a JSON Schema of 'type: "object"', got 'type: "None"'.
Affected tools:
get_address, get_chain, get_balance, sign_message, get_token_info_by_ticker, etc.
✅ Solution
Update @goat-sdk/adapter-vercel-ai for AI SDK v5 compatibility:
- Update peer dependency to
ai: ^5.0.0
- Fix schema generation — use
type: "object" instead of type: "None"
- Ensure backward compatibility with v4
🧩 Context
Environment:
AI SDK v5.0.76, pnpm workspace
Impact:
Blocks projects migrating to AI SDK v5
🙏 Thanks for the amazing work on GOAT SDK!
🚀 Feature Request: AI SDK v5 Compatibility for @goat-sdk/adapter-vercel-ai
Problem
Cannot use GOAT SDK with AI SDK v5 due to compatibility issues:
@goat-sdk/adapter-vercel-ai@0.2.10requiresai: ^4.0.3ai: ^5.0.0) introduces stricter schema validationError: Invalid schema for function 'sign_message': schema must be a JSON Schema of 'type: "object"', got 'type: "None"'.
Affected tools:
get_address,get_chain,get_balance,sign_message,get_token_info_by_ticker, etc.✅ Solution
Update
@goat-sdk/adapter-vercel-aifor AI SDK v5 compatibility:ai: ^5.0.0type: "object"instead oftype: "None"🧩 Context
Environment:
AI SDK v5.0.76, pnpm workspace
Impact:
Blocks projects migrating to AI SDK v5
🙏 Thanks for the amazing work on GOAT SDK!