# `LLMProxy.Providers.OpenAICodex.Events`
[🔗](https://github.com/elixir-vibe/llm_proxy/blob/v0.3.1/lib/llm_proxy/providers/openai_codex/events.ex#L1)

Converts ReqLLM Codex stream chunks into LLMProxy stream events.

Codex execution stays in `LLMProxy.Providers.OpenAICodex`; this module owns
only the wire-shape adaptation from `ReqLLM.StreamChunk` to the OpenAI Chat
and OpenAI Responses event formats exposed by LLMProxy routes.

# `openai_chat_event`

```elixir
@spec openai_chat_event(ReqLLM.StreamChunk.t(), String.t()) ::
  LLMProxy.Stream.Event.t() | nil
```

# `openai_chat_events`

```elixir
@spec openai_chat_events(Enumerable.t(), String.t()) :: Enumerable.t()
```

# `responses_event`

```elixir
@spec responses_event(ReqLLM.StreamChunk.t()) :: LLMProxy.Stream.Event.t() | nil
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
