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

ERR api-request-failed #258

Open
Betavion opened this issue Dec 27, 2023 · 2 comments
Open

ERR api-request-failed #258

Betavion opened this issue Dec 27, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@Betavion
Copy link

Describe the Bug

I'm using custom api, settings are as follows:

"chatgpt.gpt3.apiKey": "sk-qExxx",
"chatgpt.gpt3.apiBaseUrl": "https://api.132006.xyz",
"chatgpt.gpt3.model": "gpt-4-1106-preview",

The error output looks like this:

INFO api-request-sent chatgpt.model:gpt-4-1106-preview chatgpt.questionCounter:1 {"chatgpt.command":"freeText","chatgpt.hasCode":"false","chatgpt.hasPreviousAnswer":"false"}
ERR api-request-failed chatgpt.model:gpt-4-1106-preview chatgpt.questionCounter:1}

I want to know what's wrong and how to fix it

Please tell us if you have customized any of the extension settings or whether you are using the defaults.

"chatgpt.gpt3.apiKey": "sk-qExxx",
"chatgpt.gpt3.apiBaseUrl": "https://api.132006.xyz",
"chatgpt.gpt3.model": "gpt-4-1106-preview",

Additional context

No response

@Betavion Betavion added the bug Something isn't working label Dec 27, 2023
@Betavion
Copy link
Author

I'm sure the api is ok cause it functions normally in other apps

@benzntech
Copy link

benzntech commented Dec 27, 2023

#239 ChatGPT for VS Code deprecated & open-sourced. Please find the alternative link in README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants