a2ui-project / a2ui-project/a2ui

SimpleChat does not work with data model properly.

未关闭
#1,893 16 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
component: genui P2 status: first-line-handled type: bug
主要语言
TypeScript
星标
16.4k
派生
1.3k
平均合并
2 天 13 小时
30 天内合并 PR
134

描述

It happens often for TextField in simple-chat-like renderers.

May be it makes sense to add validation to our evals to check for leading '/' in text field value.

Image

---

### 2 comment(s) from the original issue

**[polina-c](https://github.com/polina-c)** commented on 2026-05-11:

@gspencergoog , @jiahaog

What do you think about adding validation to evals to catch this issue?

Or it will be better to add e2e test to simple chat to try to catch this?

---

**[jiahaog](https://github.com/jiahaog)** commented on 2026-05-11:

It sounds like the a2ui json is not generated by the model correctly? Agreed on evals, we can probably add a set of programatic validations for evals in the A2UI repo.

贡献指南

打开贡献指南

调研方向

The issue mentions a problem with TextField in simple-chat-like renderers where a leading '/' may cause issues. Look at the A2UI repository's evals or validation logic, likely in the a2ui repo. Start by finding where simple chat components are defined and how data models are validated. Check for existing e2e tests for simple chat to understand the failure mode. Adding a validation check for leading '/' in text field values in the evals or creating a programmatic validation test is the goal.

由索引模型根据 Issue 内容生成。

评估

技术栈
typescript
领域
testing-qa
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。