mirror of
https://github.com/katanemo/plano.git
synced 2026-04-29 02:46:28 +02:00
Salmanap/fix network agent demo (#153)
* staging my changes to re-based from main * adding debug statements to rust * merged with main * ready to push network agent * removed the incomplete sql example --------- Co-authored-by: Salman Paracha <salmanparacha@MacBook-Pro-261.local>
This commit is contained in:
parent
6acfea7787
commit
b63a01fe82
41 changed files with 252 additions and 1987 deletions
|
|
@ -26,6 +26,7 @@ guard_model_config = load_yaml_config("guard_model_config.yaml")
|
|||
|
||||
mode = os.getenv("MODE", "cloud")
|
||||
logger.info(f"Serving model mode: {mode}")
|
||||
print(f"Serving model mode: {mode}")
|
||||
if mode not in ["cloud", "local-gpu", "local-cpu"]:
|
||||
raise ValueError(f"Invalid mode: {mode}")
|
||||
if mode == "local-cpu":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue