Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

requestOptions.proxy Not Working #3442

Open
3 tasks done
ByJacob opened this issue Dec 18, 2024 · 1 comment
Open
3 tasks done

requestOptions.proxy Not Working #3442

ByJacob opened this issue Dec 18, 2024 · 1 comment
Assignees
Labels
area:configuration Relates to configuration options kind:bug Indicates an unexpected problem or unintended behavior "needs-triage"

Comments

@ByJacob
Copy link

ByJacob commented Dec 18, 2024

Before submitting your bug report

Relevant environment info

- OS: linux
- Continue version: v0.9.246 (pre-release)
- IDE version:

Version: 1.95.0-insider
Commit: 62a233cc87dc8d52a817739bc0d917089d4d103b
Date: 2024-10-17T05:09:34.012Z
Electron: 32.1.2
ElectronBuildId: 10323173
Chromium: 128.0.6613.162
Node.js: 20.17.0
V8: 12.8.374.33-electron.0
OS: Linux x64 6.6.63-1-MANJARO
  • Model: Azure
  • config.json:

...
"models": [
{
"model": "gpt-4-32k",
"contextLength": 128000,
"title": "Gpt-4-32k",
"systemMessage": "REDACTED",
"apiKey": "REDACTED",
"engine": "gpt-4-32k",
"apiBase": "REDACTED",
"apiVersion": "2024-02-15-preview",
"apiType": "azure",
"provider": "azure",
"requestOptions": {
"proxy": "REDACTED"
}
},
...

Description

It has been observed that the requestOptions.proxy parameter in the format http://user:pass@host:port does not work as expected. This prevents users from successfully routing requests through the specified proxy.

To reproduce

Configure the requestOptions.proxy parameter using the format http://user:pass@host:port.
Send a request to the API.
Observe that the request does not route through the specified proxy.

Workaround: Use Proxy Support with override and set the proxy in Visual Studio Code (VSC).

Log output

No response

@dosubot dosubot bot added area:configuration Relates to configuration options kind:bug Indicates an unexpected problem or unintended behavior labels Dec 18, 2024
@ByJacob ByJacob changed the title Title: Unable to Configure apiVersion and requestOptions.proxy parameter requestOptions.proxy Not Working Dec 18, 2024
@tomasz-stefaniak
Copy link
Collaborator

This might be related to a broader set of Azure issues reported here: #3477

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:configuration Relates to configuration options kind:bug Indicates an unexpected problem or unintended behavior "needs-triage"
Projects
None yet
Development

No branches or pull requests

2 participants