char-fork/llama.cpp

git clone https://git.t4t.associates/char-fork/llama.cpp

Aleksander Grygierui: enforce alphabetical enum member ordering (#27272)01818e495

char/aliceai-t5-moe
925 B45 linesraw
1/**
2 * OpenAI-compatible tool call type.
3 */
4export enum ToolCallType {
5	FUNCTION = 'function'
6}
7
8/**
9 * Types of sections in agentic content display.
10 */
11export enum AgenticSectionType {
12	REASONING = 'reasoning',
13	REASONING_PENDING = 'reasoning_pending',
14	TEXT = 'text',
15	TOOL_CALL = 'tool_call',
16	TOOL_CALL_PENDING = 'tool_call_pending',
17	TOOL_CALL_STREAMING = 'tool_call_streaming'
18}
19
20/**
21 * How a Continue click on an assistant message resumes generation.
22 */
23export enum ContinueIntentKind {
24	APPEND_TEXT = 'append_text',
25	NEXT_TURN = 'next_turn',
26	RERUN_TURN = 'rerun_turn'
27}
28
29/**
30 * Renderer tier for a tool-result blob shown in the default tool-call block.
31 */
32export enum ToolResultKind {
33	JSON = 'json',
34	MARKDOWN = 'markdown',
35	TEXT = 'text'
36}
37
38/**
39 * Line classification for the unified-diff renderer of `edit_file` results.
40 */
41export enum DiffLineKind {
42	ADD = 'add',
43	CONTEXT = 'context',
44	REMOVE = 'remove'
45}