Selaa lähdekoodia

refine llm init (#1938)

### What problem does this PR solve?


### Type of change

- [x] Performance Improvement
tags/v0.10.0
Kevin Hu 1 vuosi sitten
vanhempi
commit
54fc6dcf01
No account linked to committer's email address
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1
    0
      api/db/init_data.py

+ 1
- 0
api/db/init_data.py Näytä tiedosto

@@ -107,6 +107,7 @@ def init_llm_factory():
LLMFactoriesService.save(**factory_llm_info)
except Exception as e:
pass
LLMService.filter_delete([LLM.fid == factory_llm_info["name"]])
for llm_info in llm_infos:
llm_info["fid"] = factory_llm_info["name"]
try:

Loading…
Peruuta
Tallenna