llama-index-llms-openai 0.3.41__tar.gz → 0.3.42__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: llama-index-llms-openai
3
- Version: 0.3.41
3
+ Version: 0.3.42
4
4
  Summary: llama-index llms openai integration
5
5
  Author: llama-index
6
6
  License-Expression: MIT
@@ -909,7 +909,7 @@ class OpenAI(FunctionCallingLLM):
909
909
  **kwargs: Any,
910
910
  ) -> Dict[str, Any]:
911
911
  """Predict and call the tool."""
912
- tool_specs = [tool.metadata.to_openai_tool() for tool in tools]
912
+ tool_specs = [tool.metadata.to_openai_tool(skip_length_check=True) for tool in tools]
913
913
 
914
914
  # if strict is passed in, use, else default to the class-level attribute, else default to True`
915
915
  if strict is not None:
@@ -27,7 +27,7 @@ dev = [
27
27
 
28
28
  [project]
29
29
  name = "llama-index-llms-openai"
30
- version = "0.3.41"
30
+ version = "0.3.42"
31
31
  description = "llama-index llms openai integration"
32
32
  authors = [{name = "llama-index"}]
33
33
  requires-python = ">=3.9,<4.0"