How do I change the default LLM Provider from Openai to Google
None other than Google works for me, even though I have added API keys. Program stalls on my Pinokio install, remote and local.
So where can I change the default LLM Provider to Google every time I start the program? It defaults to Openai, and I wish it to default to google instead.
Thanks.
You can save your config via "Configuration" > "Save Current Config". The next time, select the saved config file, and load it with "Load Existing Config From File". Unfortunately, automatic loading on restart isn't supported, so you will have to load it every time you restart the app.
You can't on a remote session though, as it saves it only on the PC where it is installed...
Configuration saved to ./tmp/webui_settings\eaf299b8-78d8-43c3-8e75-09898c1a1087.pkl
So this didn't solve anything.
Thanks for the input though.
If that's the case, then the only option is to directly modify the code (change openai to google and the model name, gpt-4o to a google's one:
webui.py
769: choices=utils.model_names['openai'],
and:
src\utils\default_config_settings.py
15: "llm_provider": "openai",
16: "llm_model_name": "gpt-4o",
92: gr.update(value=loaded_config.get("llm_provider", "openai")),
93: gr.update(value=loaded_config.get("llm_model_name", "gpt-4o")),
Thank you, Sir, that was what I was looking for. Appreciate it.
The issue is closed. As user got what he wanted.