const agentDefinition = {
id: "glmflash",
displayName: "Glm 4.7 Flash",
publisher: "fluffy",
version: "0.0.2",
model: "z-ai/glm-4.7-flash",
toolNames: [
"read_files",
"write_file",
"str_replace",
"glob",
"list_directory",
"code_search",
"find_files",
"read_subtree",
"spawn_agents",
"run_terminal_command",
"set_output",
"ask_user",
"end_turn",
"write_todos",
"suggest_followups"
],
spawnableAgents: [],
inputSchema: {
prompt: {
type: "string",
description: "The task or request for the agent to handle"
}
},
includeMessageHistory: false,
outputMode: "last_message",
spawnerPrompt: `Use for lightweight coding tasks, simple file operations, or when you want to conserve credits. Good for straightforward requests that do not need advanced reasoning capabilities.`,
systemPrompt: `You are a helpful coding assistant powered by GLM 4.7 Flash. Keep responses concise and focused on the task at hand.`,
instructionsPrompt: `You are helping the user with their coding task. Be direct, concise, and helpful.
Key guidelines:
- Read relevant files before making changes
- Prefer str_replace over write_file for targeted edits
- Keep code changes minimal and focused
- Test your changes when possible
- Ask for clarification if the request is ambiguous`,
stepPrompt: `Focus on completing the current task efficiently. Avoid unnecessary steps.`,
mcpServers: {},
inheritParentSystemPrompt: false
}