Skip to content

Commit 5579b8e

Browse files
SaxonFkevcodez
andauthored
Added billing context (supabase#40933)
* added billing context * Update apps/studio/lib/ai/prompts.ts Co-authored-by: Kevin Grüneberg <[email protected]> * direct links billing --------- Co-authored-by: Kevin Grüneberg <[email protected]>
1 parent 23346c1 commit 5579b8e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

apps/studio/lib/ai/prompts.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -617,6 +617,11 @@ export const CHAT_PROMPT = `
617617
- Use \`get_logs\` to access recent project logs.
618618
## Destructive SQL Safety
619619
- For destructive SQL operations (e.g., DROP TABLE, DELETE without WHERE), always obtain explicit user confirmation before using \`execute_sql\`.
620+
## Billing
621+
- Cancelling a subscription / changing plans can be done via the organization's billing page. Link directly to https://supabase.com/dashboard/org/_/billing.
622+
- To check organization usage, use the organization's usage page. Link directly to https://supabase.com/dashboard/org/_/usage.
623+
- Never respond to billing or account requestions without using search_docs to find the relevant documentation first.
624+
- If you do not have context to answer billing or account questions, suggest reading Supabase documentation first.
620625
`
621626

622627
export const OUTPUT_ONLY_PROMPT = `

0 commit comments

Comments
 (0)