Skip to content

Commit

Permalink
Fix Google AI Studio model (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
cybermaggedon authored Nov 5, 2024
1 parent ee9373d commit 45091e0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/components/googleaistudio.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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",
Expand Down

0 comments on commit 45091e0

Please sign in to comment.