fabric
fabric copied to clipboard
[Bug]: after setting up OpenAI, get the error `invalid model ID`
What happened?
- set up
fabric
withfabric -S
, added OpenAI api key, selected default model (tried multiple includingo1-mini
,gpt-4o-mini
,gpt-4-turbo
,gpt-4
, ...). - run the example command from the
README.md
:fabric -u https://github.com/danielmiessler/fabric/ -p analyze_claims
Then I get the following output:
$ fabric -u https://github.com/danielmiessler/fabric/ -p analyze_claims
error, status code: 400, status: 400 Bad Request, message: invalid model ID
$
Fabric config is the following:
$ cat ~/.config/fabric/.env
DEFAULT_VENDOR=OpenAI
DEFAULT_MODEL=gpt-4-turbo
PATTERNS_LOADER_GIT_REPO_URL=https://github.com/danielmiessler/fabric.git
PATTERNS_LOADER_GIT_REPO_PATTERNS_FOLDER=patterns
OPENAI_API_KEY=<redacted>
OPENAI_API_BASE_URL=https://api.openai.com/v1
Fabric version (darwin-arm64 version):
$ fabric --version
v1.4.131
Version check
- [x] Yes I was.
Relevant log output
Relevant screenshots (optional)
No response