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
I installed the chatgpt.vim plugin manually for vim (version 8.2.2637).
After configuring the .virmrc properly with the API key, when i tried to review a piece of C code, i got the following error:
========
Error: Error code: 404 - {'error': {'message': 'The model gpt-4o does not exist or you do not have access to it.', 'type': 'invalid_request_error', 'param':
None, 'code': 'model_not_found'}}
Hence, i edited the .vimrc to use gpt-4o-mini, like below:
let g:chat_gpt_model='gpt-4o-mini'
After this the above error disappeared.
However, when I tried to review code (or any other operation), I do not get any response.
I just get the following in a horizontally split window of vim:
=====
{
wpa_printf(MSG_ERROR, "ACS: Failed to start");
acs_cleanup(iface);
hostapd_disable_iface(iface);
}
^A>>>Assistant:^A
There is nothing from the "Assistant".
Note, that i am able to ping openai.com / Internet from my system where i run vim.
This is a bit urgent, hope you can guide me towards a solution immediately.
thanks,
-shankar
The text was updated successfully, but these errors were encountered:
There was a bug that resulted in the response always being None if you didn't pass a language, i've pushed a fix for that hopefully it fixes the issue you're seeing.
i took your changes, where the diff with my version was:
< resp = lang and f" And respond in {lang}." or ""
resp = f" And respond in {lang}." if lang != 'None' else ""
Still i see the same issue - no output from the Assistant
3 ^A>>>User:^A
4 Can you provide a code review? Given the following code snippet:
5
6 c 7 static void acs_fail(struct hostapd_iface *iface) 8 { 9 wpa_printf(MSG_ERROR, "ACS: Failed to start"); 10 acs_cleanup(iface); 11 hostapd_disable_iface(iface); 12 } 13 14
15
16
17 ^A>>>Assistant:^A
18
Hello,
I installed the chatgpt.vim plugin manually for vim (version 8.2.2637).
After configuring the .virmrc properly with the API key, when i tried to review a piece of C code, i got the following error:
========
Error: Error code: 404 - {'error': {'message': 'The model
gpt-4o
does not exist or you do not have access to it.', 'type': 'invalid_request_error', 'param':None, 'code': 'model_not_found'}}
Hence, i edited the .vimrc to use gpt-4o-mini, like below:
let g:chat_gpt_model='gpt-4o-mini'
After this the above error disappeared.
However, when I tried to review code (or any other operation), I do not get any response.
I just get the following in a horizontally split window of vim:
=====
^A>>>Assistant:^A
There is nothing from the "Assistant".
Note, that i am able to ping openai.com / Internet from my system where i run vim.
This is a bit urgent, hope you can guide me towards a solution immediately.
thanks,
-shankar
The text was updated successfully, but these errors were encountered: