Codex/fix pr188 191 ci (#194)
Project CI / Repository checks (push) Successful in 2m24s
Project CI / Frontend tests (push) Successful in 2m54s
Project CI / Backend tests (push) Successful in 4m33s
Project CI / Native shell tests (push) Successful in 14m29s

Reviewed-on: http://192.168.35.82/git/GenarrativeAI/Genarrative/pulls/194
Co-authored-by: kdletters <kdletters@qq.com>
Co-committed-by: kdletters <kdletters@qq.com>
This commit was merged in pull request #194.
This commit is contained in:
2026-08-25 15:41:55 +08:00
committed by 段舒康
parent a265a0ff92
commit c09a511aaa
113 changed files with 1102 additions and 40430 deletions
+1 -1
View File
@@ -4553,7 +4553,7 @@ mod tests {
assert_eq!(
error,
LlmError::InvalidRequest(
"OpenAI Responses assistant 消息不支持 input_image".to_string()
"system/assistant 消息不支持 input_image;图片必须放在 user 消息".to_string()
)
);
}
@@ -21,7 +21,7 @@ pub struct GameCreationAppCommandDescriptor {
pub permission: GameCreationAppPermission,
}
pub const GAME_CREATION_APP_COMMANDS: [GameCreationAppCommandDescriptor; 64] = [
pub const GAME_CREATION_APP_COMMANDS: [GameCreationAppCommandDescriptor; 63] = [
command("help.show", GameCreationAppPermission::Auto),
command("project.create", GameCreationAppPermission::Confirm),
command("project.status", GameCreationAppPermission::Auto),
@@ -49,7 +49,6 @@ pub const GAME_CREATION_APP_COMMANDS: [GameCreationAppCommandDescriptor; 64] = [
command("agent.delegate", GameCreationAppPermission::Confirm),
command("agent.spawn_isolated", GameCreationAppPermission::Confirm),
command("agent.schedule_ready", GameCreationAppPermission::Confirm),
command("agent.route_manifest", GameCreationAppPermission::Auto),
command("agent.capabilities", GameCreationAppPermission::Auto),
command("agent.audit", GameCreationAppPermission::Auto),
command("llm.config_check", GameCreationAppPermission::Auto),
@@ -971,7 +970,7 @@ mod tests {
#[test]
fn command_contract_keeps_expected_permissions() {
assert_eq!(GAME_CREATION_APP_COMMANDS.len(), 64);
assert_eq!(GAME_CREATION_APP_COMMANDS.len(), 63);
let command_ids = GAME_CREATION_APP_COMMANDS
.iter()
@@ -1185,12 +1184,6 @@ mod tests {
GameCreationAppPermission::Confirm
);
}
let route_manifest = GAME_CREATION_APP_COMMANDS
.iter()
.find(|command| command.id == "agent.route_manifest")
.unwrap();
assert_eq!(route_manifest.permission, GameCreationAppPermission::Auto);
let preview_validate = GAME_CREATION_APP_COMMANDS
.iter()
.find(|command| command.id == "preview.validate")