From 37b9bd320ea38c6076d050fa8fb7a198e65fd384 Mon Sep 17 00:00:00 2001 From: based Date: Thu, 28 Dec 2023 02:03:56 +1000 Subject: [PATCH] added mistral to -proxyoutput since it's supported now --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 2c703d7..8b82bf0 100644 --- a/main.py +++ b/main.py @@ -242,12 +242,13 @@ def output_keys(): if valid_mistral_keys: pretty_print_mistral_keys(valid_mistral_keys) else: - # ai21, mistral and vertex keys aren't supported in proxies so no point outputting them, filtered azure keys should be excluded. + # ai21, and vertex keys aren't supported in proxies so no point outputting them, filtered azure keys should be excluded. print("OPENAI_KEY=" + ','.join(key.api_key for key in valid_oai_keys)) print("ANTHROPIC_KEY=" + ','.join(key.api_key for key in valid_anthropic_keys)) print("AWS_CREDENTIALS=" + ','.join(f"{key.api_key}:{key.region}" for key in valid_aws_keys)) print("GOOGLE_AI_KEY=" + ','.join(key.api_key for key in valid_makersuite_keys)) print("AZURE_CREDENTIALS=" + ','.join(f"{key.api_key.split(':')[0]}:{key.best_deployment}:{key.api_key.split(':')[1]}" for key in valid_azure_keys if key.unfiltered)) + print("MISTRAL_AI_KEY=" + ','.join(key.api_key for key in valid_mistral_keys)) if should_write: sys.stdout.file.close()