@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
12 lines • 368 B
JavaScript
export function modelOnlyText(text) {
return { type: "text", text, audience: "model" };
}
export function isModelOnlyText(part) {
return (typeof part === "object" &&
part !== null &&
"type" in part &&
part.type === "text" &&
"audience" in part &&
part.audience === "model");
}
//# sourceMappingURL=model-only-text.js.map