Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | 7x 7x 7x 7x 7x | import {
IsOptional,
IsBoolean,
IsNumber,
Min,
IsString,
} from 'class-validator';
/**
* Arguments for the get_session_history tool.
* Returns the session history in the same format sent to the AI (LlmContent).
*/
export class GetSessionHistoryArgsDto {
/**
* Optional session ID. If not provided, uses the current session from execution context.
*/
@IsOptional()
@IsString()
session_id?: string;
/**
* Maximum number of conversation turns to return.
* If not provided, returns all turns.
*/
@IsOptional()
@IsNumber()
@Min(1)
limit?: number;
/**
* Whether to include the system prompt in the returned history.
* Default: false
*/
@IsOptional()
@IsBoolean()
include_system_prompt?: boolean;
}
|