25 lines
521 B
Python
25 lines
521 B
Python
# cline.py — Cline agent adapter
|
||
|
||
from lib_py.agents.base import BaseAgentAdapter
|
||
|
||
class ClineAgentAdapter(BaseAgentAdapter):
|
||
@property
|
||
def name(self) -> str:
|
||
return 'cline'
|
||
|
||
@property
|
||
def own_key(self) -> str:
|
||
return 'cline_conversation_id_own'
|
||
|
||
@property
|
||
def input_prompt(self) -> str:
|
||
return '❯'
|
||
|
||
@property
|
||
def input_placeholder(self) -> str:
|
||
return 'Ask anything...'
|
||
|
||
@property
|
||
def input_rule_pattern(self) -> str:
|
||
return '─{10,}'
|