Discover Packages
github.com/openfastchat/openfastchat-core
compact
package
Version:
v0.2.3
Opens a new window with list of versions in this module.
Published: Oct 27, 2026
License: AGPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
DefaultPrompt returns the embedded fallback system prompt
used when a compact node has no per-node prompt set.
Title generates a short (max ~6 words) human-readable
title for a chat thread given the first user prompt and
the assistant's response. The call goes through the
billed LLM client, so its tokens are accounted for.
LLM is the subset of billedllm.Recorder that compact
needs. Declared locally so this package stays free of a
direct billedllm dependency.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.