mirror of
https://github.com/openai/codex.git
synced 2026-11-26 07:26:11 +00:00
Parse model annotations from skill frontmatter (#38467)
## What changed - Add an optional `model` field to parsed and loaded skill metadata. - Recognize `model: luna` while ignoring unsupported model values without preventing the rest of the skill metadata from loading. ## Testing - Cover supported, absent, unsupported, and repaired frontmatter model values. GitOrigin-RevId: 376b65555e81d29a5eae93cc4c2633aacf7cd7c8
This commit is contained in:
1 parent
c6dee5f49f
commit
3711943d11
17 files changed
+122
-1
No files matched your search
@@ -28,6 +28,7 @@ fn test_skill_metadata(skill_doc_path: AbsolutePathBuf) -> SkillMetadata {
|
||||
name: "test-skill".to_string(),
|
||||
description: "test".to_string(),
|
||||
short_description: None,
|
||||
model: None,
|
||||
interface: None,
|
||||
dependencies: None,
|
||||
policy: None,
|
||||
|
||||
Reference in new issue
Block a user