MCPcopy
hub / github.com/coder/mux / buildSendMessageOptions

Function buildSendMessageOptions

src/browser/utils/messages/buildSendMessageOptions.ts:35–45  ·  view source on GitHub ↗
(input: SendMessageOptionsInput)

Source from the content-addressed store, hash-verified

33 * Single source of truth for the send-option shape — backend enforces per-model policy.
34 */
35export function buildSendMessageOptions(input: SendMessageOptionsInput): SendMessageOptions {
36 return {
37 thinkingLevel: input.thinkingLevel,
38 model: input.model,
39 agentId: input.agentId,
40 providerOptions: input.providerOptions,
41 experiments: { ...input.experiments },
42 allowAgentSetGoal: true,
43 disableWorkspaceAgents: input.disableWorkspaceAgents ? true : undefined,
44 };
45}

Callers 2

useSendMessageOptionsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected