remove boiler plate prompt
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user