a2ui-project / a2ui-project/a2ui
feat(skill): consider supporting InferenceFormatFactory in SkillGenerator
- 主要言語
- TypeScript
- スター
- 16.4k
- フォーク
- 1.3k
- 平均マージ
- 2日 13時間
- マージ済み PR(30日)
- 134
説明
### Background
Currently in PR #2516, `SkillGenerator` wraps an instantiated `InferenceFormat` strategy instance:
```python
generator = SkillGenerator(fmt)
skill = generator.generate_skill() # defaults to catalogs in fmt
```
In the Agent SDK module blueprint (`blueprints/modules/a2ui_agent.blueprint.md` §4.E), format construction is planned to be abstracted through `InferenceFormatFactory` for the upcoming `a2ui.processor` facade:
```python
factory: InferenceFormatFactory
fmt = factory.create(catalog, capabilities)
```
### Proposed Enhancement
Once `InferenceFormatFactory` is implemented in the Python Agent SDK and multi-language core SDKs, evaluate whether `SkillGenerator` should accept an `InferenceFormatFactory` directly, allowing catalogs and format options to be synthesized on the fly without pre-bound format instances.
コントリビューションガイド
評価
この issue はまだ評価されていません。