| 441 | /// (decode_response). Construct with `new OpenAIChatCodec()`. |
| 442 | #[wasm_bindgen(js_name = OpenAIChatCodec)] |
| 443 | pub struct OpenAIChatCodec { |
| 444 | pub(crate) inner_codec: std::sync::Arc<dyn LlmCodec>, |
| 445 | pub(crate) inner_response_codec: std::sync::Arc<dyn LlmResponseCodec>, |
| 446 | } |
| 447 | |
| 448 | impl Default for OpenAIChatCodec { |
| 449 | fn default() -> Self { |
no outgoing calls