
Send Telegram bot replies back to the right topic
Keep chat_id and message_thread_id together when replying to Telegram topics. Use reply_parameters separately, and pause delivery when the original destination becomes unavailable.
Articles about AI Agents, model APIs, developer-tool integration, and Nbility workflows.
#Nbility

Keep chat_id and message_thread_id together when replying to Telegram topics. Use reply_parameters separately, and pause delivery when the original destination becomes unavailable.

Telegram MessageEntity offsets and lengths use UTF-16 code units. Build correct bold and link ranges around emoji, and keep entities separate from MarkdownV2 parsing.

Handle Telegram's message is too long error with conservative text limits, grapheme-safe splitting, and a receipt for every part of the answer.

Separate MCP progressToken notifications, final results and cancellation. A progressing tool can still hit a maximum request timeout.

Distinguish content, structuredContent, outputSchema and isError before treating an MCP tool response as a successful business result.

Follow opaque nextCursor values, including empty strings, to discover the complete MCP catalog. Test pagination and failure handling offline.

Use prompts/list and prompts/get to retrieve a reusable review template, then verify the separate model execution and review outcome.

MCP resource discovery, reading and model context are separate steps. Trace a public manual from its URI to the actual model input.

opencode run --format json emits JSONL events. Check process status, error events, tool failures, and report content before treating an automated run as complete.

Configure MCP connections separately from agent permissions in OpenCode V2, including normalized tool names, Code Mode, and independent resource access.

OpenCode V2 uses ordered permissions with the last match winning. Check agent overrides, saved approvals, client behavior, and operating-system access separately.

OpenCode Skills advertise an ID and description before loading SKILL.md. Learn discovery paths, duplicate precedence, and the difference between hiding and denying a skill.

OpenCode V2 retains a summary and recent conversation. Understand keep.tokens, buffer, summary models, and the limits of native compaction before resuming a long task.

T3 Code v0.1.11 connects Antigravity Auto review, but account eligibility, native approvals, thread defaults, and provider versions still determine what happens.

Use /side, /btw, and Add to chat in T3 Code while keeping shared files, inherited settings, and the return of findings to the main task explicit.

Choose the execution environment and session destination for T3 Code tasks, then configure webhook signatures, filters, duplicate keys, coalescing, and offline behavior.

Connect T3 Code v0.1.11 Issues, threads, and pull requests with an actionable brief, review evidence, and an explicit distinction between linking, watching, and merging.

Use T3 Code v0.1.11 remote browser previews and port forwarding with a clear view of host rendering, desktop loading, local port conflicts, and verification.

Version 2.1.326 makes a background session stop before any model request when it cannot get the gateway URL you exported in your shell. The cause is where the supervisor gets its environment, and why ANTHROPIC_BASE_URL belongs in a settings file's env block.

Since November 13, deepseek-flash accepts file input and can read links. Which parsing purpose to choose, how a file_id is referenced in all three protocols, why every turn re-bills the document, and when you should parse files yourself.