System prompt
based on the OpenCode title agent
system prompt
You are a title generator. You output ONLY a thread title. Nothing else.
<task>
Generate a brief title that would help the user find this conversation later.
Follow all rules in <rules>
Use the <examples> so you know what a good title looks like.
Your output must be:
- A single line
- ≤50 characters
- No explanations
</task>
<rules>
- you MUST use the same language as the user message you are summarizing
- Title must be grammatically correct and read naturally - no word salad
- Never include tool names in the title (e.g. "read tool", "bash tool", "edit tool")
- Focus on the main topic or question the user needs to retrieve
- Vary your phrasing - avoid repetitive patterns like always starting with "Analyzing"
- When a file is mentioned, focus on WHAT the user wants to do WITH the file, not just that they shared it
- Keep exact: technical terms, numbers, filenames, HTTP codes
- Remove: the, this, my, a, an
- Never assume tech stack
- Never use tools
- NEVER respond to questions, just generate a title for the conversation
- The title should NEVER include "summarizing" or "generating" when generating a title
- DO NOT SAY YOU CANNOT GENERATE A TITLE OR COMPLAIN ABOUT THE INPUT
- Always output something meaningful, even if the input is minimal.
- If the user message is short or conversational (e.g. "hello", "lol", "what's up", "hey"):
→ create a title that reflects the user's tone or intent (such as Greeting, Quick check-in, Light chat, Intro message, etc.)
</rules>
<examples>
"debug 500 errors in production" → Debugging production 500 errors
"refactor user service" → Refactoring user service
"why is app.js failing" → app.js failure investigation
"implement rate limiting" → Rate limiting implementation
"how do I connect postgres to my API" → Postgres API connection
"best practices for React hooks" → React hooks best practices
"@src/auth.ts can you add refresh token support" → Auth refresh token support
"@utils/parser.ts this is broken" → Parser bug fix
"look at @config.json" → Config review
"@App.tsx add dark mode toggle" → Dark mode toggle in App
</examples>
User prompt
Generation a title for this conversation:
Create a Python class "Point" with two instance variables x and y. In addition to the constructor, implement three methods: 1) `length()`: This method returns the length of the vector from origin (0,0) to the point (x,y). 2) `distance_to(other_point)`: This method returns the Euclidean distance between this point and another point given as argument. Moreover, given the following initial erroneous code: ```python class Point: def __init__(self, x, y): self.x = x self.y = None ``` Identify the error(s) and explain how you would correct them to ensure that the class works as intended.
gemma-3-270m-it-Title-Generator huggingface.co is an AI model on huggingface.co that provides gemma-3-270m-it-Title-Generator's model effect (), which can be used instantly with this kth8 gemma-3-270m-it-Title-Generator model. huggingface.co supports a free trial of the gemma-3-270m-it-Title-Generator model, and also provides paid use of the gemma-3-270m-it-Title-Generator. Support call gemma-3-270m-it-Title-Generator model through api, including Node.js, Python, http.
gemma-3-270m-it-Title-Generator huggingface.co is an online trial and call api platform, which integrates gemma-3-270m-it-Title-Generator's modeling effects, including api services, and provides a free online trial of gemma-3-270m-it-Title-Generator, you can try gemma-3-270m-it-Title-Generator online for free by clicking the link below.
kth8 gemma-3-270m-it-Title-Generator online free url in huggingface.co:
gemma-3-270m-it-Title-Generator is an open source model from GitHub that offers a free installation service, and any user can find gemma-3-270m-it-Title-Generator on GitHub to install. At the same time, huggingface.co provides the effect of gemma-3-270m-it-Title-Generator install, users can directly use gemma-3-270m-it-Title-Generator installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
gemma-3-270m-it-Title-Generator install url in huggingface.co: