(document: PseudocodeDocument)
| 131 | * character of the block plus a floor is generous and still bounded. |
| 132 | */ |
| 133 | export function refineMaxTokens(document: PseudocodeDocument): number { |
| 134 | return Math.max(256, Math.ceil(pseudocodeText(document).length / 2)); |
| 135 | } |
no test coverage detected