Add query param prefill for chat#2624
Merged
hayescode merged 17 commits intoChainlit:mainfrom Nov 8, 2025
Merged
Conversation
Contributor
|
Thanks for the contribution @ADWasHere ! Would you mind adding a test for this? |
feat: Add display_name field to ChatProfile
描述:
## Summary
Add optional `display_name` field to `ChatProfile` to allow separate
internal identifiers and user-facing display names.
## Changes
- **Backend**: Added `display_name: Optional[str]` to ChatProfile
dataclass
- **Frontend**: Updated UI to display `display_name || name`
- **Types**: Added `display_name?` to TypeScript interface
## Benefits
- Use technical IDs internally (e.g., `ad_designer`)
- Display user-friendly names in UI (e.g., `广告设计师`)
- Fully backward compatible (optional field)
## Example
```python
ChatProfile(
name="ad_designer", # Internal ID
display_name="广告设计师", # UI display
markdown_description="...",
icon="..."
)
---------
Co-authored-by: Claude <noreply@anthropic.com>
Contributor
Author
Sure, I'll do it today or tomorrow. |
# Step Nesting - Nested steps were rendering as child_step -> parent_step.input -> parent_step.output. This is now more logical parent_step.input -> child_step -> parent_step.output - **Before** - <img width="476" height="366" alt="image" src="https://github.com/user-attachments/assets/60932c70-2cce-434e-b3b2-a0cb5e146769" /> - **After** - <img width="844" height="366" alt="image" src="https://github.com/user-attachments/assets/4234c9ff-4909-40fe-b8a4-c170e30bfa1a" /> # Task List - The tasks in the TaskList couldn't be formatted with markdown or html like the rest of the frontend so I added that back and improved the styling a bit. - <img width="366" height="94" alt="image" src="https://github.com/user-attachments/assets/7ad561ce-d240-4bab-bb8f-9583f8f62e52" />
…re/chainlit into feature/chat-query-param
Contributor
Author
|
@hayescode you can merge it now |
hayescode
approved these changes
Nov 8, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Now you can curl
/?prompt=Hello%20WorldandHello Worldwill appear as a prefill in the chat-inputIssue: #2614