Using models from Deepinfra

Hey guys I’m trying to call models through deepinfra in my agent but it’s technically not supported in the documentation. I saw that Fireworks is an option, but is there any way I could follow a format and do the same as Fireworks but with Deepinfra?
Thanks!

@miffy I have a PR up that adds DeepInfra support to Agno. I’m unsure if they will merge it though. I’m currently working off my personal fork until it’s merged.

Thank you so much, I also figured out I can just run the following in the agent and it works too if anyone is looking for a quick fix.

from agno.agent import Agent
from agno.models.openai.like import OpenAILike

agent = Agent(
    model=OpenAILike(
        id="deepseek-ai/DeepSeek-V3",
        api_key=DEEPINFRA_API_KEY,
        base_url="https://api.deepinfra.com/v1/openai/",
    ),
)
agent.print_response("Hello World!", stream=True)