mirror of
https://github.com/katanemo/plano.git
synced 2026-06-17 15:25:17 +02:00
rename arch_config to config.yaml
This commit is contained in:
parent
46b634f603
commit
b7dbd0fbea
42 changed files with 48 additions and 48 deletions
|
|
@ -159,7 +159,7 @@ def convert_prompt_target_to_openai_format(target):
|
|||
|
||||
def get_prompt_targets():
|
||||
try:
|
||||
with open(os.getenv("ARCH_CONFIG", "arch_config.yaml"), "r") as file:
|
||||
with open(os.getenv("ARCH_CONFIG", "config.yaml"), "r") as file:
|
||||
config = yaml.safe_load(file)
|
||||
|
||||
available_tools = []
|
||||
|
|
@ -181,7 +181,7 @@ def get_prompt_targets():
|
|||
|
||||
def get_llm_models():
|
||||
try:
|
||||
with open(os.getenv("ARCH_CONFIG", "arch_config.yaml"), "r") as file:
|
||||
with open(os.getenv("ARCH_CONFIG", "config.yaml"), "r") as file:
|
||||
config = yaml.safe_load(file)
|
||||
|
||||
available_models = [""]
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ do
|
|||
echo "****************************************"
|
||||
cd ../../$demo
|
||||
echo "starting archgw"
|
||||
archgw up arch_config.yaml
|
||||
archgw up config.yaml
|
||||
echo "starting docker containers"
|
||||
# only execute docker compose if demo is use_cases/preference_based_routing
|
||||
if [ "$demo" == "use_cases/preference_based_routing" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue