Skip to content

[CLI MCP] Invalid chartType enum value ("Bar") generated in category chart #1637

@viktorkombov

Description

@viktorkombov

Ignite UI CLI Version

15.0.0-rc2

Framework

Angular

CLI Command

ai-config

Node.js Version

24.2.0

Operating System

Windows

Package Manager

npm

Description

When generating category charts with Claude Sonnet 4.6, the chartType is sometimes set to "Bar", which is not a valid member of the expected enum.

This leads to a runtime error:

`ERROR Error: Invalid CategoryChartType value: Bar

Steps to Reproduce

  1. Generate a cateogry chart using the follwing prompt:

15-rc.2-prompt1.md

Actual Result

chartType is set to "Bar" and the app throws a runtime error.

Expected Result

Only valid FinancialChartType enum values should be generated.

Error Output / Logs

ERROR Error: Invalid CategoryChartType value: Bar

Additional Context

No response

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions