Direct link to Presets/Assistants? #3635
-
Hi! So my question is: Is this possible somehow? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
This would be incredibly useful especially since it allows the assistant to be directly embedded as a widget in another website. Wondering if there have been any updates on this? |
Beta Was this translation helpful? Give feedback.
-
Yes, LibreChat allows you to create direct URLs that open a new chat with a specific agent. 🔗 Example https://your-librechat-domain.com/c/new?agent_id=your-agent-id Replace your-agent-id with the unique identifier of the agent you wish to use. This URL will start a new conversation with the specified agent. The endpoint is automatically set to agents when using this parameter. |
Beta Was this translation helpful? Give feedback.
-
@leeks8888 Thanks!
So now I can always set a default "best" model for my family. In order for this to work, you need to unpin your own default preset in LibreChat. If you don't, your default preset will be chosen instead. |
Beta Was this translation helpful? Give feedback.
Yes, LibreChat allows you to create direct URLs that open a new chat with a specific agent.
This is accomplished by using the agent_id query parameter in the URL.
GitHub
🔗 Example
To initiate a new chat with a specific agent, use the following URL structure:
https://your-librechat-domain.com/c/new?agent_id=your-agent-id
Replace your-librechat-domain.com with your actual LibreChat domain.
Replace your-agent-id with the unique identifier of the agent you wish to use.
This URL will start a new conversation with the specified agent. The endpoint is automatically set to agents when using this parameter.