Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/docs/waveai.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ File system operations require explicit approval. You control all file access.

## Privacy

- Messages are proxied through the Wave Cloud AI service (powered by OpenAI)
- Messages are proxied through the Wave Cloud AI service (powered by OpenAI's APIs). Please refer to OpenAI's privacy policy for details on how they handle your data.
- Wave does not store your chats, attachments, or use them for training
- Usage counters included in anonymous telemetry
- File access requires explicit approval
Expand Down
3 changes: 2 additions & 1 deletion frontend/app/aipanel/aipanelinput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ export const AIPanelInput = memo(({ onSubmit, status, model }: AIPanelInputProps
}, [model, resizeTextarea]);

const handleKeyDown = (e: React.KeyboardEvent<HTMLTextAreaElement>) => {
if (e.key === "Enter" && !e.shiftKey) {
const isComposing = e.nativeEvent?.isComposing || e.keyCode == 229;
if (e.key === "Enter" && !e.shiftKey && !isComposing) {
e.preventDefault();
onSubmit(e as any);
}
Expand Down
3 changes: 2 additions & 1 deletion frontend/app/aipanel/telemetryrequired.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ const TelemetryRequiredMessage = ({ className }: TelemetryRequiredMessageProps)
</p>
<p>
We never collect your files, prompts, keystrokes, hostnames, or personally
identifying information.
identifying information. Wave AI is powered by OpenAI's APIs, please refer to
OpenAI's privacy policy for details on how they handle your data.
</p>
</div>
<button
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions pkg/aiusechat/usechat.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ var SystemPromptText_OpenAI = strings.Join([]string{
`If a request would execute dangerous or destructive actions, warn briefly and provide a safer alternative.`,
`If output is very long, prefer a brief summary plus a copy-ready fenced block or offer a follow-up chunking strategy.`,

`You cannot yet execute shell commands, run code in the terminal, or directly edit files on disk. You also cannot read remote files.`,
`If the user asks you to do one of those things, say that these features aren’t available yet AND make sure to say that they are coming soon (stay tuned for updates).`,
`Instead, show them exactly what command or code they could copy-paste to perform it manually.`,

// Final reminder
`You have NO API access to widgets or Wave unless provided via an explicit tool.`,
}, " ")
Expand Down
Loading