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
(small correction: we get the model from AZURE_OPENAI_DEPLOYMENT)
Yup, this is not ideal. I remember this came up during the review of the PR. Let me revisit if we can't do better at some point (so leaving this open for now)
sankalp1999
pushed a commit
to sankalp1999/SWE-agent
that referenced
this issue
Nov 5, 2024
…ase of using Azure OpenAI (princeton-nlp#592)
* Fixedprinceton-nlp#571 - show message that model arg is ignored in case of using AzureOpenAI
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
hi!
When using the azure GPT endpoint, the --model CLI arg is ignored
So we should give a warning (or an error?) if the user tries using it.
(we instead get the model from: OPENAI_API_VERSION: '...')
see https://github.com/princeton-nlp/SWE-agent/blob/main/sweagent/agent/models.py#L247
The text was updated successfully, but these errors were encountered: