fabric icon indicating copy to clipboard operation
fabric copied to clipboard

[Bug]: Error When Trying to Run Anything: Windows

Open Evilander opened this issue 11 months ago • 4 comments

What happened?

Trying to use Fabric at all. Sorry - kind of new to all of it.

Error: Error code: 400 - {'error': {'message': 'you must provide a model parameter', 'type': 'invalid_request_error', 'param': None, 'code': None}} Error code: 400 - {'error': {'message': 'you must provide a model parameter', 'type': 'invalid_request_error', 'param': None, 'code': None}}

Version check

  • [X] Yes I was.

Relevant log output

No response

Relevant screenshots (optional)

No response

Evilander avatar Mar 15 '24 01:03 Evilander

Cant help if you dont show what you are running or how you are running it, your configs (with sensitive stuff removed) etc

fail-open avatar Mar 15 '24 15:03 fail-open

I am running windows 11, 12.1 cuda, anaconda.

I have all of my api keys setup. I haven't messed with any other configurations.

pipx has been installed and updated.

Evilander avatar Mar 15 '24 15:03 Evilander

Curious if its actually getting your config stuff. Windows doesn't function like mac/linux so the default ~/.config stuff doesn't work over there afaik.

Gerkinfeltser avatar Mar 15 '24 15:03 Gerkinfeltser

Alright, I'll test now using Ubuntu.

Evilander avatar Mar 15 '24 16:03 Evilander

Screenshot 2024-03-16 at 23 25 16 I am using a Mac, and the same issue arises. I can see my openai API key in my ~/.config

hingsli avatar Mar 16 '24 15:03 hingsli

i'll fix it in a little, but in the meantime you can just setDefaultModel and you won't get that error

xssdoctor avatar Mar 16 '24 16:03 xssdoctor

ok it should be fixed now. Can you try it and make sure it works?

xssdoctor avatar Mar 16 '24 16:03 xssdoctor