llama-index-llms-openai 0.6.0__tar.gz → 0.6.2__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,12 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: llama-index-llms-openai
3
- Version: 0.6.0
3
+ Version: 0.6.2
4
4
  Summary: llama-index llms openai integration
5
5
  Author: llama-index
6
6
  License-Expression: MIT
7
7
  License-File: LICENSE
8
8
  Requires-Python: <4.0,>=3.9
9
- Requires-Dist: llama-index-core<0.15,>=0.13.0
9
+ Requires-Dist: llama-index-core<0.15,>=0.14.3
10
10
  Requires-Dist: openai<2,>=1.108.1
11
11
  Description-Content-Type: text/markdown
12
12
 
@@ -1004,7 +1004,7 @@ class OpenAI(FunctionCallingLLM):
1004
1004
  del llm_kwargs["tool_choice"]
1005
1005
  return llm_kwargs
1006
1006
 
1007
- def _should_use_structure_outputs(self):
1007
+ def _should_use_structure_outputs(self) -> bool:
1008
1008
  return (
1009
1009
  self.pydantic_program_mode == PydanticProgramMode.DEFAULT
1010
1010
  and is_json_schema_supported(self.model)
@@ -62,6 +62,8 @@ O1_MODELS: Dict[str, int] = {
62
62
  "gpt-5-nano": 400000,
63
63
  "gpt-5-nano-2025-08-07": 400000,
64
64
  "gpt-5-chat-latest": 400000,
65
+ "gpt-5-pro": 400000,
66
+ "gpt-5-pro-2025-10-06": 400000,
65
67
  }
66
68
 
67
69
  O1_MODELS_WITHOUT_FUNCTION_CALLING = {
@@ -27,13 +27,13 @@ dev = [
27
27
 
28
28
  [project]
29
29
  name = "llama-index-llms-openai"
30
- version = "0.6.0"
30
+ version = "0.6.2"
31
31
  description = "llama-index llms openai integration"
32
32
  authors = [{name = "llama-index"}]
33
33
  requires-python = ">=3.9,<4.0"
34
34
  readme = "README.md"
35
35
  license = "MIT"
36
- dependencies = ["openai>=1.108.1,<2", "llama-index-core>=0.13.0,<0.15"]
36
+ dependencies = ["openai>=1.108.1,<2", "llama-index-core>=0.14.3,<0.15"]
37
37
 
38
38
  [tool.codespell]
39
39
  check-filenames = true