Method
encode
(
&self,
annotated: &AnnotatedLlmRequest,
original: &LlmRequest,
)
Source from the content-addressed store, hash-verified
| 823 | } |
| 824 | |
| 825 | fn encode( |
| 826 | &self, |
| 827 | annotated: &AnnotatedLlmRequest, |
| 828 | original: &LlmRequest, |
| 829 | ) -> FlowResult<LlmRequest> { |
| 830 | match self { |
| 831 | Self::OpenAIChat => OpenAIChatCodec.encode(annotated, original), |
| 832 | Self::OpenAIResponses => OpenAIResponsesCodec.encode(annotated, original), |
| 833 | Self::AnthropicMessages => AnthropicMessagesCodec.encode(annotated, original), |
| 834 | } |
| 835 | } |
| 836 | |
| 837 | fn decode_response( |
| 838 | &self, |
Callers
nothing calls this directly
Tested by
no test coverage detected