Download src/gateway/server-methods/agent.ts from SaylorTwift/openclaw: direct link, hf CLI and curl.
- Browser
- Download file 353 Bytes
-
https://huggingface.co/SaylorTwift/openclaw/resolve/main/src/gateway/server-methods/agent.ts
- Command line
-
hf download hf://SaylorTwift/openclaw/src/gateway/server-methods/agent.ts
-
curl -L -o agent.ts https://huggingface.co/SaylorTwift/openclaw/resolve/main/src/gateway/server-methods/agent.ts
353 Bytes
| import { agentRunHandler } from "./agent-run-handler.js"; | |
| import { agentWaitHandler } from "./agent-wait.js"; | |
| // Gateway agent methods implement agent.run and agent.wait RPCs. | |
| import type { GatewayRequestHandlers } from "./types.js"; | |
| export const agentHandlers: GatewayRequestHandlers = { | |
| agent: agentRunHandler, | |
| "agent.wait": agentWaitHandler, | |
| }; | |