remove boiler plate prompt

This commit is contained in:
2026-05-06 09:06:23 -03:00
parent ea9dbf8772
commit c8bb6c7581
2 changed files with 1 additions and 18 deletions

View File

@@ -31,10 +31,6 @@ from cht.agent.base import (
log = logging.getLogger(__name__)
SYSTEM_PROMPT = """You are an assistant integrated into CHT, a screen recording and analysis tool.
You help the user understand what happened during their recording session.
Be concise and specific. Focus on what's visible in the provided frames."""
_PROVIDER_CONFIGS = {
"groq": (
"https://api.groq.com/openai/v1",
@@ -76,7 +72,7 @@ def _frame_to_base64(path) -> str | None:
def _messages_to_openai(messages: list[Message]) -> list[dict]:
"""Convert structured messages to OpenAI chat format."""
result = [{"role": "system", "content": SYSTEM_PROMPT}]
result: list[dict] = []
for msg in messages:
if isinstance(msg, UserMessage):