Skip to content

Commit

Permalink
Merge pull request #20 from trustgraph-ai/dev-googleaistudio
Browse files Browse the repository at this point in the history
Added GoogleAIStudio EnvVar
  • Loading branch information
JackColquitt authored Oct 16, 2024
2 parents 9636b58 + 331d588 commit 8e19150
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/simple-editor/deployment/DeploymentModelCompose.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,22 @@ const getInstructions = (model : string) => {
]}
/>

</>;
} else if (model == "googleaistudio") {
return <>
<Typography variant="body2">To use Google AI Studio APIs, you need an API token which must
be provided in an environment variable.</Typography>


<DeploymentEnvVars
variables={[
{
name: "GOOGLEAISTUDIO_KEY",
value: "TOKEN-GOES-HERE"
}
]}
/>

</>;
} else if (model == "llamafile") {
return <>
Expand Down

0 comments on commit 8e19150

Please sign in to comment.