mirror of
https://github.com/cunnymessiah/keychecker.git
synced 2026-05-10 18:39:04 -07:00
added mistral to -proxyoutput since it's supported now
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user