We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5414dba commit 65edd81Copy full SHA for 65edd81
admin/src/components/Input/index.js
@@ -20,12 +20,9 @@ export default function Index({
20
const { formatMessage } = useIntl();
21
const [content, setContent] = useState('');
22
const [prompt, setPrompt] = useState('');
23
- const [err, setErr] = useState('');
24
- const xet = process.env.OPEN_AI_ACCESS_TOKEN
25
-
+ const [err, setErr] = useState('');
26
27
const aiClick = async () => {
28
- console.log('vars: ', xet)
29
try {
30
const response = await fetch('https://api.openai.com/v1/completions', {
31
method: 'POST',
0 commit comments