mirror of
https://github.com/harry0703/MoneyPrinterTurbo.git
synced 2026-02-21 16:37:21 +08:00
Merge pull request #220 from vuisme/patch-1
fix LLM API Key with g4f config
This commit is contained in:
commit
c866c4a383
@ -396,7 +396,7 @@ if start_button:
|
||||
scroll_to_bottom()
|
||||
st.stop()
|
||||
|
||||
if not config.app.get(f"{llm_provider}_api_key", ""):
|
||||
if llm_provider != 'g4f' and not config.app.get(f"{llm_provider}_api_key", ""):
|
||||
st.error(tr("Please Enter the LLM API Key"))
|
||||
scroll_to_bottom()
|
||||
st.stop()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user