pub fn apply_options(body: &mut Map<String, Value>, options: &ChatOptions)Expand description
Apply the scalar ChatOptions fields Mistral’s Chat Completions API
actually supports onto a request body map.
Deliberately narrower than [agent_framework_openai::convert::apply_options]:
temperature,top_p,max_tokens,stop,frequency_penalty,presence_penalty,response_format, andtool_choice-adjacentparallel_tool_callsmap straight across (documented Mistral request fields).seedmaps to Mistral’s differently-namedrandom_seedfield rather than OpenAI’sseed.store,metadata,logit_bias, anduserhave no Mistral Chat Completions equivalent and are skipped gracefully (never sent) instead of being forwarded as unrecognized fields.