Skip to content

Azure deployments with dot in its name like "gpt-4.1" are not found #978

Open
@Eckii24

Description

@Eckii24

Describe the bug

Azure models provided with a "dot" inside of the deployment names are not found.

This is because of this logic:

return regexp.MustCompile(`[.:]`).ReplaceAllString(model, "")

Is there any reason, "." and ":" are filtered out from the deployment names?
Especially the "." is nowadays a bit confusing, because of models like "gpt-4.1" and "gpt-4.1-mini".

To Reproduce
Deploy an azure open AI model with a "dot" in its deployment name.

Expected behavior
The model was found and called.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions