Skip to content

DX-596-together-chat-completions: sync with mintlify-docs#954#34

Merged
zainhas merged 1 commit into
mainfrom
docs-sync/together-chat-completions/mintlify-docs-pr-954
Jun 19, 2026
Merged

DX-596-together-chat-completions: sync with mintlify-docs#954#34
zainhas merged 1 commit into
mainfrom
docs-sync/together-chat-completions/mintlify-docs-pr-954

Conversation

@zainhas

@zainhas zainhas commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

Syncs together-chat-completions with the merged docs update in togethercomputer/mintlify-docs#954 ("Update TypeScript chat message docs types").

Changed docs that triggered this sync

  • docs/inference/function-calling/agentic.mdx — replaces CompletionCreateParams.Message[] (imported from together-ai/resources/chat/completions.mjs) with ChatCompletionMessageParam[] (imported from together-ai/resources/chat/completions) and adds tool_call_id on tool-response messages.

Skill changes

  • Updated the TypeScript Multi-step example in references/function-calling-patterns.md to type messages as ChatCompletionMessageParam[] and import the type from together-ai/resources/chat/completions, replacing the previous any[].
  • Updated the TypeScript Multi-turn example in the same file with the matching typed import and ChatCompletionMessageParam[] declaration.
  • No changes needed in scripts/tool_call_loop.ts or scripts/reasoning_models.ts — they already use ChatCompletionMessageParam and pass tool_call_id on tool-result messages.

Generated by the Sync Skills Cursor Automation. Please review before merging.

Update TypeScript multi-step and multi-turn tool-calling examples in
references/function-calling-patterns.md to use the typed
ChatCompletionMessageParam[] pattern (imported from
together-ai/resources/chat/completions) instead of any[], matching the
upstream docs update in togethercomputer/mintlify-docs#954.
@zainhas zainhas self-assigned this Jun 10, 2026
@zainhas zainhas requested a review from blainekasten June 10, 2026 16:51
@zainhas zainhas requested a review from muhsinking June 18, 2026 19:12
@zainhas zainhas merged commit f005f3a into main Jun 19, 2026
2 checks passed
@zainhas zainhas deleted the docs-sync/together-chat-completions/mintlify-docs-pr-954 branch June 19, 2026 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants