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

Chainlit Step with title attribute #1876

Open
Th3R3alDuk3 opened this issue Feb 8, 2025 · 0 comments
Open

Chainlit Step with title attribute #1876

Th3R3alDuk3 opened this issue Feb 8, 2025 · 0 comments
Labels
enhancement New feature or request needs-triage

Comments

@Th3R3alDuk3
Copy link

Utilize the name attribute to retrieve the step icon and assign the ID in the HTML. Then, use the title attribute to display the step title, ensuring no entries are required in the translation JSON files. If the title is not provided, fallback to the language-dependent translation entry.

with cl.Step(name="step1", title="create image"):
    ...

name: step1 -> /public/avatars/step1.png

@dosubot dosubot bot added the enhancement New feature or request label Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs-triage
Projects
None yet
Development

No branches or pull requests

1 participant