Skip to content

Support slashes in model names when using local LLMs via custom base_url #38

Description

@WismutHansen

First of all thank you for building DSRs, I love the idea of DSPy but prefer building most of my tools in Rust.

When using e.g. LMstudio, some models have a slash in their name by default like "qwen/qwen3-coder-30b". This trips up the build in provider detection even when setting a custom base_url. It's of course possible to serve the model under a name without a slash but maybe there is a way to include better support for local LLM engines/models.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions