Skip to content

Add compatibility with Vercel ai library #21

@hwittenborn

Description

@hwittenborn

Tool calls with generateObject don't appear to work when using the OpenAI compatibility layer in Vercel's ai SDK. It would be nice if that could get fixed, or native Llama API support was added to there.

It looks like this was due to enums being present in my schema, which is leading me to think it's a limitation of the ai library itself. I still think it would be nice to have native llama support though :-)

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