修正配置迁移测试可见性
开放 AGC 配置迁移测试所需的 crate 内函数 清理受控联网搜索合并后的未使用导入
This commit is contained in:
@@ -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(());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user