(text: string)
| 6 | |
| 7 | // Helper to create minimal valid parts |
| 8 | function createTextPart(text: string): SessionV1.Part { |
| 9 | return { |
| 10 | id: PartID.ascending(), |
| 11 | sessionID: SessionID.make("ses_test"), |
| 12 | messageID: MessageID.make("msg_test"), |
| 13 | type: "text" as const, |
| 14 | text, |
| 15 | } |
| 16 | } |
| 17 | |
| 18 | function createReasoningPart(text: string): SessionV1.Part { |
| 19 | return { |
no test coverage detected