Skip to content

Type for totalSupply of CdpWalletActionProvider_deploy_token #673

@vanloc1808

Description

@vanloc1808

Language Implementation

  • Python
  • TypeScript

Feature Type

  • Action Provider Template
  • Wallet Provider Template
  • Framework Extension
  • Core Requirements
  • Other

🚀 The feature, motivation and pitch

At this line, we are defining totalSupply as a custom type.
When using list tool, it returns that

Tool: CdpWalletActionProvider_deploy_token, Input Schema: {"type":"object","properties":{"name":{"type":"string","description":"The name of the token"},"symbol":{"type":"string","description":"The token symbol"},"totalSupply":{"description":"The total supply of tokens to mint"}},"required":["name","symbol"],"additionalProperties":false,"description":"Instructions for deploying a token","$schema":"http://json-schema.org/draft-07/schema#"}

We can see that totalSupply does not have an explicit type. This works with OpenAI API, but with some others, like llama.cpp, we met error of parsing.
Could we have a way to return type for this parameter?

Alternatives

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions