677 api_key_str = self.mistral_api_key
678
679▶ # TODO: handle retries
680 base_url_str = (
681 self.endpoint
· · ·
695 verify=global_ssl_context,
696 )
697▶ # TODO: handle retries and max_concurrency
698 if not self.async_client:
699 self.async_client = httpx.AsyncClient(
· · ·
1153 )
1154 raise ValueError(msg)
1155▶ # TODO: Update to pass in tool name as tool_choice if/when Mistral supports
1156 # specifying a tool.
1157 llm = self.bind_tools(