Skip to content

[BUG CLIENT]: Documentation missing for chat.complete parameters #216

Open
@kraftfrosch

Description

@kraftfrosch

Python -VV

- not relevant

Pip Freeze

- not relevant

Reproduction Steps

  1. Open src/mistralai/chat.py

Expected Behavior

The documentation for the parameters tools, tool_choice, prediction & parallel_tool_calls are missing.

Additional Context

No response

Suggested Solutions

:param tools: The list of tools which can be called by the model to complete the request.
:param tool_choice: Controls how the model uses tools. Set to "auto" (default) to let the model decide whether to use tools, "any" to force tool use, or "none" to prevent tool use.
:param prediction: Specifies parts of predictable output, such as template-based responses, to optimize response time and allow the model to focus computational resources on unpredictable elements.
:param parallel_tool_calls: Controls whether parallel tool calling is allowed. When set to true (default), the model decides whether to use parallel tool calls. When set to false, forces the model to use single tool calling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions