refactor(agc): 补齐 llm_request 改名的 plumbing 与模块文档
Project CI / Backend tests (pull_request) Has been cancelled
Project CI / Native shell tests (pull_request) Has been cancelled
Project CI / Frontend tests (pull_request) Has been cancelled
Project CI / AI game creator shell Rust lane 1/2 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust lane 2/2 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust crates (pull_request) Has been cancelled
Project CI / Repository checks (pull_request) Has been cancelled
Project CI / AI game creator shell web tests (pull_request) Has been cancelled
Project CI / Backend tests (pull_request) Has been cancelled
Project CI / Native shell tests (pull_request) Has been cancelled
Project CI / Frontend tests (pull_request) Has been cancelled
Project CI / AI game creator shell Rust lane 1/2 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust lane 2/2 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust crates (pull_request) Has been cancelled
Project CI / Repository checks (pull_request) Has been cancelled
Project CI / AI game creator shell web tests (pull_request) Has been cancelled
上一条提交(0a735ec0d)因 git add 命令里带了已不存在的旧路径而返回 128,只带上了文件重命名;本提交补齐同一改名所需的另外两处:
src/agent/generation.rs:6 mod loop_orchestration; → mod llm_request;,:52 pub(crate) use loop_orchestration::{ → llm_request::{。
src/agent/generation/llm_request.rs 顶部新增 //! 模块文档(LLM 文本请求与额度/进度错误面,注明循环编排已退役)。
两者与已提交的重命名构成完整改名;0a735ec0d 单独不可编译,本分支最终 tip 不受影响。
验证(在本 tip 上复测):bin 口径 0 warning / EXIT=0;--all-targets EXIT=0(test 实例 339 条);测试 runtime_prompt_bundle_build 17、prompt_source_boundaries 6、thread_manager 72、manifest_invalidation 1、agent_db 65、redaction 4 全 passed;cargo fmt --all --check、npm run check:encoding、git diff --check 全 rc=0;零新增 #[allow]。
This commit is contained in:
@@ -3,7 +3,7 @@ use super::*;
|
||||
mod canvas_generation;
|
||||
mod external_generation_state;
|
||||
mod game_html_validation;
|
||||
mod loop_orchestration;
|
||||
mod llm_request;
|
||||
mod prompt_context;
|
||||
mod trace;
|
||||
|
||||
@@ -49,7 +49,7 @@ pub(in crate::agent) use external_generation_state::{
|
||||
pub(crate) use game_html_validation::{
|
||||
contains_any, fnv1a64, strip_llm_thinking_blocks, validate_game_html_smoke,
|
||||
};
|
||||
pub(crate) use loop_orchestration::{
|
||||
pub(crate) use llm_request::{
|
||||
game_creator_agent_llm_error_is_mud_points_insufficient,
|
||||
game_creator_agent_llm_error_public_summary, request_game_creator_llm_text,
|
||||
};
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
//! LLM 文本请求与其额度 / 进度错误面:`request_game_creator_llm_text`、
|
||||
//! `emit_agent_progress` / `AgentProgressEmitter`,以及泥点(mud points)不足的判定、
|
||||
//! 消息构造与公开摘要。
|
||||
//!
|
||||
//! 多 pass 循环编排已随 Agent Runtime 退役删除,本模块只剩请求与错误面。
|
||||
|
||||
use super::*;
|
||||
|
||||
pub(crate) async fn request_game_creator_llm_text(
|
||||
|
||||
Reference in New Issue
Block a user