Skip to content

[Bug]: Remove logprobs from response object #579

@krrishdholakia

Description

@krrishdholakia

What happened?

Remove logprobs, it doesn't follow the openai format. This is causing issues for users trying to integrate litellm into repos.
Screenshot 2023-10-10 at 6 28 14 PM

Since the initial ask for adding log probs was also a user request, we could move it to being a private attribute similar to response_ms.

Relevant log output

No response

Twitter / LinkedIn details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions