Skip to content

Conversation

@epheien
Copy link
Contributor

@epheien epheien commented Dec 30, 2025

The previous check history.title ~= "string" incorrectly compared the title value to the literal string "string" instead of checking the type. Use type(history.title) ~= "string" to properly validate title is a string.

This fixes AvanteHistory not displaying titles when title is nil or a non-string type.

The previous check `history.title ~= "string"` incorrectly compared the title
value to the literal string "string" instead of checking the type.
Use `type(history.title) ~= "string"` to properly validate title is a string.

This fixes AvanteHistory not displaying titles when title is nil or
a non-string type.
@yetone yetone merged commit 7a9fbbd into yetone:main Dec 30, 2025
3 checks passed
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.

2 participants