25 lines
508 B
Python
25 lines
508 B
Python
# agy.py — Antigravity (agy) agent adapter
|
|
|
|
from lib_py.agents.base import BaseAgentAdapter
|
|
|
|
class AgyAgentAdapter(BaseAgentAdapter):
|
|
@property
|
|
def name(self) -> str:
|
|
return 'agy'
|
|
|
|
@property
|
|
def own_key(self) -> str:
|
|
return 'agy_conversation_id_own'
|
|
|
|
@property
|
|
def input_prompt(self) -> str:
|
|
return '>'
|
|
|
|
@property
|
|
def input_placeholder(self) -> str:
|
|
return ''
|
|
|
|
@property
|
|
def input_rule_pattern(self) -> str:
|
|
return '─{10,}'
|