diff options
author | Sophie Zhang <sophie_zhang@brown.edu> | 2023-06-29 13:56:41 -0400 |
---|---|---|
committer | Sophie Zhang <sophie_zhang@brown.edu> | 2023-06-29 13:56:41 -0400 |
commit | 932ecd6092bd1b0ac3391309a550bac76cfb0e04 (patch) | |
tree | 5d8e2d571b2fd4e26a03cd0a5b77d0d0a4a3364a /src/client/apis/gpt | |
parent | b6537cce6aa34eb33c052d7ec2cbbf804be08fba (diff) |
undo and redo
Diffstat (limited to 'src/client/apis/gpt')
-rw-r--r-- | src/client/apis/gpt/GPT.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/apis/gpt/GPT.ts b/src/client/apis/gpt/GPT.ts index 4b3960902..18222b32a 100644 --- a/src/client/apis/gpt/GPT.ts +++ b/src/client/apis/gpt/GPT.ts @@ -39,7 +39,7 @@ const gptAPICall = async (inputText: string, callType: GPTCallType) => { temperature: opts.temp, prompt: `${opts.prompt}${inputText}`, }); - console.log(response.data.choices[0]); + // console.log(response.data.choices[0]); return response.data.choices[0].text; } catch (err) { console.log(err); |