diff --git a/cptr/utils/chat_task.py b/cptr/utils/chat_task.py index 2226417..5e22161 100644 --- a/cptr/utils/chat_task.py +++ b/cptr/utils/chat_task.py @@ -1270,6 +1270,7 @@ async def run_chat_task( async def _run_agent_target(agent_target: AgentModelTarget): nonlocal content, text_buffer from cptr.utils.agents.claude_code import run_claude_code_agent + from cptr.utils.agents.cline import run_cline_agent from cptr.utils.agents.codex import run_codex_agent from cptr.utils.agents.cursor import run_cursor_agent from cptr.utils.agents.grok import run_grok_agent @@ -1322,6 +1323,7 @@ async def run_chat_task( "cursor": run_cursor_agent, "grok": run_grok_agent, "opencode": run_opencode_agent, + "cline": run_cline_agent, } runner = runners.get(agent_target.agent) if runner is None: diff --git a/cptr/utils/model_targets.py b/cptr/utils/model_targets.py index 41d7b23..fc01327 100644 --- a/cptr/utils/model_targets.py +++ b/cptr/utils/model_targets.py @@ -24,7 +24,7 @@ class ApiModelTarget: class AgentModelTarget: kind: Literal["agent"] profile_id: str - agent: Literal["codex", "claude_code", "cursor", "grok", "opencode"] + agent: Literal["codex", "claude_code", "cursor", "grok", "opencode", "cline"] model: str full_model_id: str config: dict[str, Any]