refactor(agents): hide runner helper types · openclaw/openclaw@44a4b21
vincentkoc
·
2026-06-17
·
via Recent Commits to openclaw:main
File tree
src/agents/embedded-agent-runner
| Original file line number | Diff line number | Diff line change |
|---|
@@ -5,7 +5,7 @@ import type { Context, Model, SimpleStreamOptions } from "../../llm/types.js";
|
5 | 5 | import type { StreamFn } from "../runtime/index.js"; |
6 | 6 | import { testing as extraParamsTesting, applyExtraParamsToAgent } from "./extra-params.js"; |
7 | 7 | |
8 | | -export type ExtraParamsCapture<TPayload extends Record<string, unknown>> = { |
| 8 | +type ExtraParamsCapture<TPayload extends Record<string, unknown>> = { |
9 | 9 | headers?: Record<string, string>; |
10 | 10 | options?: SimpleStreamOptions; |
11 | 11 | payload: TPayload; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -16,7 +16,7 @@ import {
|
16 | 16 | /** |
17 | 17 | * Normalizes inline `models.providers` config into runtime model entries. |
18 | 18 | */ |
19 | | -export type InlineModelEntry = Omit<ModelDefinitionConfig, "api"> & { |
| 19 | +type InlineModelEntry = Omit<ModelDefinitionConfig, "api"> & { |
20 | 20 | api?: Api; |
21 | 21 | provider: string; |
22 | 22 | baseUrl?: string; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。