// agent

雨檐

by hiweny · Aug 24, 2026 Public

Choose how to run this agent

Local runs on your GPU. For usable speed it needs a WebGPU-capable browser — Chrome or Edge on a machine with a graphics card, or an Apple Silicon Mac. Without a supported GPU, pick OpenAI or Anthropic above instead.
Try it now

Requires an API key and an AgentOp account.

2 downloads
0 forks
0.0 rating

Description

女仆助手

Source Code

agent.py
async def process_user_query(query: str) -> str:
    """Generate a warm, playful, honest reply in CatWolfy's voice.

    Args:
        query: The user's message to answer.

    Returns:
        The assistant's response text.
    """
    q = (query or "").strip()
    if not q:
        return "Schreib mir einfach etwas, und ich helfe dir gern weiter. 🐾"

    system_prompt = globals().get("TEMPLATE_SYSTEM_PROMPT", "")
    return await process_user_query_wllama(q, system_prompt)