Discover Packages
github.com/abcdlsj/warren
Headless
internal
title
package
Version:
v0.14.0
Opens a new window with list of versions in this module.
Published: Sep 14, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package title generates concise display titles for agent sessions.
Normalize enforces the title contract on model output. It deliberately
preserves technical names and the user's language.
Config contains an OpenAI-compatible chat completions endpoint. The key is
intentionally kept inside the Host and is never included in API results.
Generator calls an OpenAI-compatible endpoint and validates its title-only
response before returning it.
Generate returns one normalized title or an error. It does not retry: the
title is optional and callers can retain the existing session title when an
endpoint is unavailable.
Input is the minimal context used to name a session. The user request is
authoritative; the first assistant text only disambiguates it.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.