Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/reworkd/AgentGPT
Browse files Browse the repository at this point in the history
  • Loading branch information
asim-shrestha committed Apr 18, 2023
2 parents 28cbc9f + 0e47bf8 commit 922810c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/components/SettingsDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,10 @@ export default function SettingsDialog({
if (is_valid_key(key)) {
setCustomApiKey(key);
close();
}
else {
alert("key is invalid, please ensure that you have set up billing in your OpenAI account")
} else {
alert(
"key is invalid, please ensure that you have set up billing in your OpenAI account"
);
}
};

Expand All @@ -83,7 +84,8 @@ export default function SettingsDialog({
onChange={(e) => setCustomTemperature(parseFloat(e.target.value))}
type="range"
toolTipProperties={{
message: "Higher temperature will make output more random",
message:
"Higher values will make the output more random, while lower values make the output more focused and deterministic.",
disabled: false,
}}
attributes={{
Expand Down

0 comments on commit 922810c

Please sign in to comment.