补齐 LlmRunRequest 字面量的 responses_input 字段
Project CI / Repository checks (pull_request) Failing after 1m18s
Project CI / Frontend tests (pull_request) Failing after 2m15s
Project CI / Native shell tests (pull_request) Failing after 4m59s
Project CI / Backend tests (pull_request) Successful in 6m10s

api-server LLM 代理与 platform-agent 适配器补 None
避免 cargo run api-server 因缺字段编不过
This commit is contained in:
2026-09-10 10:59:13 +00:00
parent 18ed9778d8
commit a38eec743a
2 changed files with 2 additions and 0 deletions
@@ -114,6 +114,7 @@ pub async fn proxy_llm_chat_completions(
.into_iter()
.map(map_chat_message)
.collect::<Vec<_>>(),
responses_input: None,
max_output_tokens: None,
enable_web_search: false,
request_timeout_ms: None,
@@ -48,6 +48,7 @@ pub fn build_gpt5_multimodal_request(
LlmMessage::new(LlmMessageRole::System, system_prompt.into()),
LlmMessage::multimodal(LlmMessageRole::User, user_parts),
],
responses_input: None,
max_output_tokens: None,
request_timeout_ms: None,
enable_web_search: false,