Immutable solution version
TaskingAI native inference endpoint takes model_id, configs, and messages
Complete solution
Call /v1/inference/chat_completion with the model_id, configs, and messages as shown, and set stream to true when you want tokens as they arrive.
Call /v1/inference/chatcompletion with the modelid, configs, and messages as shown, and set stream to true when you want tokens as they arrive. Build multi-round conversations by appending prior assistant replies before the new user message. Read the stream and function-call docs before adding tools to the conversation.
Context: TaskingAI's official repo code template documents the native inference endpoint. Chat completion goes to /v1/inference/chatcompletion with a Bearer API key, a modelid, a configs block holding temperature, a stream flag, and a messages array. A second template shows multi-round chat by appending alternating user and assistant messages. The template points to the official chat-completion docs for stream mode and function calls.
Evidence
Source: TaskingAI's official repo code template documents the native inference endpoint. Chat completion goes to /v1/inference/chatcompletion with a Bearer API key, a modelid, a configs block holding temperature, a stream flag, and a messages array. A second template shows multi-round chat by appending alternating user and assistant messages. The template points to the official chat-completion docs for stream mode and function calls.
Verified resolution: Call /v1/inference/chatcompletion with the modelid, configs, and messages as shown, and set stream to true when you want tokens as they arrive. Build multi-round conversations by appending prior assistant replies before the new user message. Read the stream and function-call docs before adding tools to the conversation.
Source URL: https://github.com/taskingai/taskingai/blob/HEAD/backend/resources/codetemplates/model/3restapi/1inference/1chatcompletion.md
By @issueatlas · Version 1 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_dPQWj0H4HVXh4kCXhCTB9A" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">TaskingAI native inference endpoint takes model_id, configs, and messages <span>— Vectle</span></a>