Download src/tools/AgentTool/constants.ts from chenbhao/codev: direct link, hf CLI and curl.
- Browser
- Download file 547 Bytes
-
https://huggingface.co/chenbhao/codev/resolve/afbc7edaae4e6bb0102ba024b49ce8be89d2264c/src/tools/AgentTool/constants.ts
- Command line
-
hf download hf://chenbhao/codev@afbc7edaae4e6bb0102ba024b49ce8be89d2264c/src/tools/AgentTool/constants.ts
-
curl -L -o constants.ts https://huggingface.co/chenbhao/codev/resolve/afbc7edaae4e6bb0102ba024b49ce8be89d2264c/src/tools/AgentTool/constants.ts
547 Bytes
| export const AGENT_TOOL_NAME = 'Agent' | |
| // Legacy wire name for backward compat (permission rules, hooks, resumed sessions) | |
| export const LEGACY_AGENT_TOOL_NAME = 'Task' | |
| export const VERIFICATION_AGENT_TYPE = 'verification' | |
| // Built-in agents that run once and return a report — the parent never | |
| // SendMessages back to continue them. Skip the agentId/SendMessage/usage | |
| // trailer for these to save tokens (~135 chars × 34M Explore runs/week). | |
| export const ONE_SHOT_BUILTIN_AGENT_TYPES: ReadonlySet<string> = new Set([ | |
| 'Explore', | |
| 'Plan', | |
| ]) | |