changed to sync

This commit is contained in:
harry
2024-03-18 21:39:47 +08:00
parent 59ae82a47d
commit 6bfb04f755
5 changed files with 9 additions and 10 deletions

View File

@@ -37,7 +37,6 @@ def _generate_response(prompt: str) -> str:
api_key = config.app.get("oneapi_api_key")
model_name = config.app.get("oneapi_model_name")
base_url = config.app.get("oneapi_base_url", "")
model_name = config.app.get("g4f_model_name")
else:
raise ValueError("llm_provider is not set, please set it in the config.toml file.")