* Encode an annotated request payload back into the JSON shape expected by * the underlying LLM implementation. * * @param annotated - The normalized or annotated JSON payload produced by middleware. * @param original - The original JSON request payload before annotation. * @returns A
(annotated: JsonValue, original: JsonValue)
| 53 | * @returns A JSON payload ready to pass to the underlying LLM implementation. |
| 54 | */ |
| 55 | encode(annotated: JsonValue, original: JsonValue): JsonValue; |
| 56 | } |
| 57 | |
| 58 | /** |
no outgoing calls