Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a chat side bar to control per-conversation settings #1094

Open
wants to merge 29 commits into
base: master
Choose a base branch
from

Conversation

sabaimran
Copy link
Member

@sabaimran sabaimran commented Jan 20, 2025

Chat-level Customization

Generally speaking, it should be easier to determine which model you're chatting with, and to effortlessly update said model from within a given chat.

In this change, we introduce a side bar that allows users to quickly change their chat model, tools, custom instructions, and file filters, directly within the chat view. This removes the need for setting up custom agents for simple instructions and mitigates the requirement to go to the settings page to verify the chat model in action.

The settings page will still configure a per-user default, but the sidebar will allow for greater customization based on the needs of a conversation.

We also extend the chat model to include more attributes that help users make decisions about model selection, including strengths and description. This can help people quickly understand which model might work best for their use case.

Technical Design

We repurpose the backend infrastructure for agents for enabling this functionality. It allows us to integrate conversational adaptation with simplicity. We create hidden agents, which are conversation-specific agents that are not publicly retrievable.

Open Questions

  • What should the customization experience look like from the home screen?
    • We don't want to clutter the view of the user on the home screen, so keep it the same. Change the + New button so that it takes you to a more "advanced" new conversation mode, while keeping the current home screen.
  • Should image models also be configurable from the side bar?
    • IMO this is probably helpful, but not urgent.

Screenshot

image

…for tools, and actions (not yet implemented)
Remove text (as by default, must output text), and improve the Notes description for clarity
A hidden agent basically allows each individual conversation to maintain custom settings, via an agent that's not exposed to the traditional functionalities allotted for manually created agents (e.g., browsing, maintenance in agents page).

This will be hooked up to the front-end such that any conversation that's initiated with the default agent can then be given custom settings, which in the background creates a hidden agent. This allows us to repurpose all of our existing agents infrastructure for chat-level customization.
- This allows users to initiate hidden agent creation from the side bar directly. Any updates can easily be applied to the conversation agent.
… because it breaks the animation on closed. Sigh.
@sabaimran sabaimran marked this pull request as ready for review January 21, 2025 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant