fabric icon indicating copy to clipboard operation
fabric copied to clipboard

[Feature request]: allow edit of base_url

Open junmagic-ai opened this issue 11 months ago • 4 comments

What do you need?

i want to be able to change the base url to another endpoint e.g. the Azure OpenAI endpoint instead of default OpenAI

junmagic-ai avatar Mar 12 '24 11:03 junmagic-ai

I've managed to get it working on a different OpenAI API-compatible endpoint (Oobabooga) by adding a OPENAI_BASE_URL= line in ~/.config/fabric/.env

It does complain about "Unable to fetch models" and "No OpenAI API key found" (despite having an API key too), but it does work other than that.

GuizzyQC avatar Mar 12 '24 19:03 GuizzyQC

I fixed this on an upcoming pull request where we deal with OpenAI baseURL.

meirm avatar Mar 13 '24 11:03 meirm

@meirm which one? When will it be merged?

maaft avatar May 30 '24 10:05 maaft

https://github.com/danielmiessler/fabric/pull/189

meirm avatar May 30 '24 10:05 meirm