Skip to content

feat: improve model name resolution flexibility#65

Merged
Oaklight merged 4 commits into
masterfrom
feature/flexible-model-resolution
Feb 22, 2026
Merged

feat: improve model name resolution flexibility#65
Oaklight merged 4 commits into
masterfrom
feature/flexible-model-resolution

Conversation

@Oaklight
Copy link
Copy Markdown
Owner

Ported from @keceli's fork (https://github.com/keceli/argo-proxy).

Changes

  • Add _model_lookup_candidates() method to ModelRegistry for flexible model name matching
  • Support slash separator format (e.g., argo/gpt-4oargo:gpt-4o)
  • Case-insensitive model name resolution
  • Automatic argo: prefix handling (add/remove as needed)
  • Add test/test_model_resolution.py with comprehensive test coverage

Credit: @keceli

keceli and others added 4 commits February 22, 2026 14:08
Support slash separator (argo/gpt-4o), case-insensitive matching,
and automatic argo: prefix handling for more flexible model resolution.

Co-authored-by: Murat Keceli <keceli@gmail.com>
Remove redundant argo: prefix stripping (values use compact format like
gpt4o, not hyphenated gpt-4o). Add comments explaining the alias key
format and why each candidate transformation exists.
@Oaklight Oaklight merged commit dff3f14 into master Feb 22, 2026
1 check passed
@Oaklight Oaklight deleted the feature/flexible-model-resolution branch February 22, 2026 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants