Vibe.Gateway.Telegram.StreamConsumer (vibe v0.2.0)

Copy Markdown View Source

Telegram-specific assistant stream consumer.

Draft mode uses Telegram's sendMessageDraft for transient partial text in private chats, then sends the final assistant message normally. Edit mode stays in the generic Vibe.Gateway.StreamConsumer; this module exists for :draft and :auto bridge policies.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

delta(pid, text)

@spec delta(pid(), String.t()) :: :ok

finish(pid)

@spec finish(pid()) :: :ok

start_link(opts)

@spec start_link(keyword()) :: GenServer.on_start()