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

Enum descriptions are rendered differently than in docs #1339

Open
pySilver opened this issue Jan 15, 2025 · 0 comments
Open

Enum descriptions are rendered differently than in docs #1339

pySilver opened this issue Jan 15, 2025 · 0 comments

Comments

@pySilver
Copy link

Docs says that enums with descriptions will be rendered as:

MyEnum
--
---
Value1 // The first value
Value2 // The second value

however in 0.72.0 I see the following format:

MyEnum
--
---
Value1: The first value
Value2: The second value

Not sure how important is that but in logs I see that LLM tries to use value with comment "Value1: The first value" and it is correctly parsed by baml. So yeah, maybe it is not a big deal. However maybe using // would be better approach as it may be perceived as comment by LLM.

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

No branches or pull requests

1 participant