-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Error: GPT-5.4 - 400 #12560
Copy link
Copy link
Open
Labels
area:autocompleteRelates to the auto complete featureRelates to the auto complete featurearea:integrationIntegrations (context providers, model providers, etc.)Integrations (context providers, model providers, etc.)ide:vscodeRelates specifically to VS Code extensionRelates specifically to VS Code extensionkind:bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behavioros:windowsHappening specifically on WindowsHappening specifically on Windows
Metadata
Metadata
Assignees
Labels
area:autocompleteRelates to the auto complete featureRelates to the auto complete featurearea:integrationIntegrations (context providers, model providers, etc.)Integrations (context providers, model providers, etc.)ide:vscodeRelates specifically to VS Code extensionRelates specifically to VS Code extensionkind:bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behavioros:windowsHappening specifically on WindowsHappening specifically on Windows
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
StatusShow more project fields
Todo
Before submitting your bug report
Relevant environment info
Description
Am using LiteLLM as local AI Gateway to consume some models like gpt-5.4 on an Azure, and it seems that continue extension is having some problems with autocomplete function on the recent OpenAI models (i've tested gpt-5.4-mini also).
To reproduce
Just try the same model behind an AI gateway like LiteLLM and you will get the same message
Log output
`Continue Autocomplete Error: HTTP 400 Bad Request from http://127.0.0.1:3130/completions {"error":{"message":"litellm.UnsupportedParamsError: azure does not support parameters: ['stop'], for model=azure/gpt-5.4. To drop these, set `litellm.drop_params=True` or for proxy:\n\n`litellm_settings:\n drop_params: true`\n. \n If you want to use these params dynamically send allowed_openai_params=['stop'] in your request.. Received Model Group=azure/gpt-5.4\nAvailable Model Group Fallbacks=None","type":"None","param":null,"code":"400"}} `