You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/AiQuery.tsx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -133,7 +133,7 @@ Respond with the image prompt string in the required format. Do not respond conv
133
133
CallOpenAi({
134
134
api: OpenAiApi.ChatCompletion,
135
135
apiKey: settingsContext.apiKey,
136
-
instructions: 'The following is a conversation with an AI assistant. The assistant is helpful, creative, clever, and very friendly. If the response involves code, use markdown format for that with ```(language) blocks.',
const[systemInstructions,setSystemInstructions]=React.useState<string>('The following is a conversation with an AI assistant. The assistant is helpful, creative, clever, and very friendly. You may use markdown syntax in the response as appropriate.');
'The following is a conversation with an AI assistant. The assistant is helpful, creative, clever, and very friendly.';
31
+
'The following is a conversation with an AI assistant. The assistant is helpful, creative, clever, and very friendly. You may use markdown syntax in the response as appropriate.';
consterrorMessage='To use this app, you need an OpenAI API key. Get one at https://platform.openai.com/account/api-keys and enter it in Settings.';
131
+
consterrorMessage='To use this app, you need an OpenAI API key. Get one at https://platform.openai.com/account/api-keys and enter it in the settings menu below (...).';
0 commit comments