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
We want users to be able to provide an editable system prompt on each new chat message. Right now we don't use any system prompt and jump straight into the user request for new chats. I would like this to be the default behavior still.
A few thoughts:
make it seamless to edit system prompt when making a new chat message. The drop down or button for it should be somewhere that makes sense but not intrusive or look ugly.
no stored system prompts for now. Users will have to edit it on each new chat message
if already in a chat thread with a system prompt or not, they maintain that. No switching after the first message creates the chat.
maybe allow a subtle indicator somewhere where they can see the system prompt if they had one set. Like if they hover over it or click it. But no editing it.
don't show the system prompt in the chat history view. Only in the special place you do above.
only paid (starter/team/pro) users can edit their system prompt. Maybe show a lock icon and an indicator that they need to upgrade in order to get access to it if they hover or click it.
make sure everything looks good for both desktop full view and mobile responsiveness
Activity
AnthonyRonning commentedon May 25, 2025
@claude can you handle this issue for me and submit a PR when you satisfy all of the requirements?
Make sure to do all bun formats, lints, builds, etc. before committing your changes.
claude commentedon May 25, 2025
Claude finished @AnthonyRonning's task —— View job •
claude/issue-81-20250525_184701• Create PR ➔✅ Implementation Complete!
I've successfully implemented the editable system prompt feature with all requested requirements:
Features Implemented
System Prompt UI:
Billing Restrictions:
Draft Persistence:
Chat Integration:
Mobile Responsive:
Additional Features:
Changes Made
LocalStateContextDef.ts&LocalStateContext.tsxfor system prompt stateChatBox.tsxwith system prompt UI and billing checks_auth.chat.$chatId.tsxto include system messages in API calls