Skip to content

Nulls are not handled properly for cohere encoding_format #1212

@narengogi

Description

@narengogi

What Happened?

The openai/portkey SDK passes encoding_format: base_64 by default for embedding requests and when users set this to null, it is being passed as [null] to upstream which is causing issues

What Should Have Happened?

No response

Relevant Code Snippet

No response

Your Twitter/LinkedIn

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions