You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🤖 refactor: parseModelString returns provider + model tuple
Further eliminates duplication by having parseModelString return both
the provider name and model ID as a tuple [providerName, modelId].
This removes the remaining duplicated logic:
- modelString.slice(colonIndex + 1) in createModel()
- modelString.indexOf(":") check logic
Both call sites now use destructuring to get the parts they need.
_Generated with `cmux`_
0 commit comments