Records reasoning, citations (the FAQs the assistant found), the tool path, and the model for each V1 Captain reply in a new captain_message_generations table. The assistant reports the source IDs it actually used so cited FAQs can be flagged, and handoff messages capture the transfer reason. Agents can expand any Captain message in the conversation (a sparkle toggle on the timestamp line) to see this breakdown, fetched on demand from a dedicated endpoint. Model is shown only in development. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
10 lines
217 B
JavaScript
10 lines
217 B
JavaScript
import ApiClient from '../ApiClient';
|
|
|
|
class MessageGenerations extends ApiClient {
|
|
constructor() {
|
|
super('captain/message_generations', { accountScoped: true });
|
|
}
|
|
}
|
|
|
|
export default new MessageGenerations();
|