mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-11 00:14:34 +00:00
refactor(agents): extract shared tool model helpers
This commit is contained in:
13
src/agents/tools/tool-runtime.helpers.ts
Normal file
13
src/agents/tools/tool-runtime.helpers.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
export { getApiKeyForModel, requireApiKey } from "../model-auth.js";
|
||||
export { runWithImageModelFallback } from "../model-fallback.js";
|
||||
export { ensureOpenClawModelsJson } from "../models-config.js";
|
||||
export { discoverAuthStorage, discoverModels } from "../pi-model-discovery.js";
|
||||
export {
|
||||
createSandboxBridgeReadFile,
|
||||
resolveSandboxedBridgeMediaPath,
|
||||
type SandboxedBridgeMediaPathConfig,
|
||||
} from "../sandbox-media-paths.js";
|
||||
export type { SandboxFsBridge } from "../sandbox/fs-bridge.js";
|
||||
export type { ToolFsPolicy } from "../tool-fs-policy.js";
|
||||
export { normalizeWorkspaceDir } from "../workspace-dir.js";
|
||||
export type { AnyAgentTool } from "./common.js";
|
||||
Reference in New Issue
Block a user