Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions gateway/src/telegram/send.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ export async function sendTelegramAttachments(
}

try {
// Prefer the assistant-less download path; fall back to the legacy
// assistant-scoped path when assistantId is available.
// Use the legacy assistant-scoped download path when assistantId is
// available; fall back to the assistant-less endpoint otherwise.
const payload = assistantId
? await downloadAttachment(config, assistantId, meta.id)
: await downloadAttachmentById(config, meta.id);
Expand Down
Loading