danielmiessler / fabric

fabric is an open-source framework for augmenting humans using AI. It provides a modular framework for solving specific problems using a crowdsourced set of AI prompts that can be used anywhere.
https://danielmiessler.com/p/fabric-origin-story
MIT License
24.62k stars 2.63k forks source link

[Bug]: Cannot change default model, always gpt-4o #919

Closed eliranwong closed 1 month ago

eliranwong commented 2 months ago

What happened?

I tried to change default model with fabric -d many times. I tried entered corresponding numbers to models, like gemini-1.5-pro, mistral-large:123b, etc. However, every time I run fabric without specifying -m parameter, I got errors:

googleapi: Error 404: models/gpt-4o is not found for API version v1beta, or is not supported for generateContent. Call ListModels to see the list of available models and their supported methods.

Version check

Relevant log output

googleapi: Error 404: models/gpt-4o is not found for API version v1beta, or is not supported for generateContent. Call ListModels to see the list of available models and their supported methods.

Relevant screenshots (optional)

No response

eugeis commented 1 month ago

I can't reproduce. Please test it with current release and reopen the issue if still occurs.