Skip to content

Issues with litellm embedding configuration #246

@sidnarayanan

Description

@sidnarayanan

I noticed that my embeddings kept getting rate-limited without retries. On investigation:

>>> LiteLLMEmbeddingModel().config
{}

For now, if one wants to retry, do something like:

LiteLLMEmbeddingModel(config={"kwargs": {"num_retries": 3, "timeout": 60}})

I can put a patch in later, but wanted to solicit feedback on if anyone wants embed_kwargs or if we can put everything in config.

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