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

fix chat info #220

Merged
merged 1 commit into from
Nov 30, 2023
Merged

fix chat info #220

merged 1 commit into from
Nov 30, 2023

Conversation

pmeier
Copy link
Member

@pmeier pmeier commented Nov 30, 2023

Fixes #219. The issue here is that we are hardcoding some chat params, but we cannot guarantee that they are present. This should have been done together with #155.

In general, we don't want to hardcode anything in the UI in the near future, so this is a first step towards 3. of #217. The solution is not perfect as we are basically just displaying the name of the parameter variables rather than an adjusted human readable version, but it is good enough for now.

@Tengal-Teemo
Copy link
Contributor

Nice :)

Copy link
Contributor

@pierrotsmnrd pierrotsmnrd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much cleaner and finally generic, thank you. Tested locally and works.

@pmeier
Copy link
Member Author

pmeier commented Nov 30, 2023

macOS CI failure is unrelated.

@pmeier pmeier merged commit 4dfef38 into main Nov 30, 2023
9 of 10 checks passed
@pmeier pmeier deleted the fix-chat-info branch November 30, 2023 07:41
pmeier added a commit that referenced this pull request Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] - Ragna UI does not display chat information, creates console errors
3 participants