修正配置迁移测试可见性

开放 AGC 配置迁移测试所需的 crate 内函数

清理受控联网搜索合并后的未使用导入
This commit is contained in:
2026-08-30 14:35:24 +08:00
parent 8d6b923607
commit b27df8dfab
2 changed files with 3 additions and 3 deletions
@@ -1,6 +1,6 @@
use super::*;
use axum::extract::{DefaultBodyLimit, Query, State};
use axum::routing::{get, post};
use axum::extract::{DefaultBodyLimit, State};
use axum::routing::post;
use axum::{Json, Router};
use base64::{engine::general_purpose::STANDARD as BASE64_STANDARD, Engine as _};
use serde::Deserialize;
@@ -3228,7 +3228,7 @@ pub(crate) fn legacy_game_creator_agent_mode(
})
}
fn migrate_legacy_game_creator_agent_mode(path: &Path) -> Result<(), String> {
pub(crate) fn migrate_legacy_game_creator_agent_mode(path: &Path) -> Result<(), String> {
if !validate_game_creator_config_file_entry(path)? {
return Ok(());
}