mirror of
https://github.com/katanemo/plano.git
synced 2026-04-29 10:56:35 +02:00
fix fc integration (#110)
* fix fc integration * fix integration * remove file * Update arch_fc.py
This commit is contained in:
parent
f0fb4a48cd
commit
ed50d29ccf
3 changed files with 4 additions and 5 deletions
|
|
@ -19,7 +19,7 @@ fc_url = os.getenv("FC_URL", ollama_endpoint)
|
|||
mode = os.getenv("MODE", "cloud")
|
||||
if mode not in ["cloud", "local-gpu", "local-cpu"]:
|
||||
raise ValueError(f"Invalid mode: {mode}")
|
||||
arch_api_key = os.getenv("ARCH_API_KEY", "")
|
||||
arch_api_key = os.getenv("ARCH_API_KEY", "vllm")
|
||||
logger = logging.getLogger("uvicorn.error")
|
||||
|
||||
handler = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue