Fix Google AI Studio model (#139)

This commit is contained in:
cybermaggedon 2024-11-05 23:49:24 +00:00 committed by GitHub
parent ee9373d55e
commit 45091e01ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,6 +26,8 @@ local prompts = import "prompts/mixtral.jsonnet";
std.toString($["googleaistudio-max-output-tokens"]),
"-t",
"%0.3f" % $["googleaistudio-temperature"],
"-m",
$["googleaistudio-model"],
])
.with_env_var_secrets(envSecrets)
.with_limits("0.5", "128M")
@ -42,6 +44,8 @@ local prompts = import "prompts/mixtral.jsonnet";
std.toString($["googleaistudio-max-output-tokens"]),
"-t",
"%0.3f" % $["googleaistudio-temperature"],
"-m",
$["googleaistudio-model"],
"-i",
"non-persistent://tg/request/text-completion-rag",
"-o",