llama-index-llms-openai 0.5.0__tar.gz → 0.5.1__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.5.0
3
+ Version: 0.5.1
4
4
  Summary: llama-index llms openai integration
5
5
  Author: llama-index
6
6
  License-Expression: MIT
@@ -228,7 +228,7 @@ class OpenAI(FunctionCallingLLM):
228
228
  default=False,
229
229
  description="Whether to use strict mode for invoking tools/using schemas.",
230
230
  )
231
- reasoning_effort: Optional[Literal["low", "medium", "high"]] = Field(
231
+ reasoning_effort: Optional[Literal["low", "medium", "high", "minimal"]] = Field(
232
232
  default=None,
233
233
  description="The effort to use for reasoning models.",
234
234
  )
@@ -53,6 +53,13 @@ O1_MODELS: Dict[str, int] = {
53
53
  "o3-pro-2025-06-10": 200000,
54
54
  "o4-mini": 200000,
55
55
  "o4-mini-2025-04-16": 200000,
56
+ # gpt-5 is a reasoning model, putting it in the o models list
57
+ "gpt-5": 400000,
58
+ "gpt-5-2025-08-07": 400000,
59
+ "gpt-5-mini": 400000,
60
+ "gpt-5-mini-2025-08-07": 400000,
61
+ "gpt-5-nano": 400000,
62
+ "gpt-5-nano-2025-08-07": 400000,
56
63
  }
57
64
 
58
65
  O1_MODELS_WITHOUT_FUNCTION_CALLING = {
@@ -27,7 +27,7 @@ dev = [
27
27
 
28
28
  [project]
29
29
  name = "llama-index-llms-openai"
30
- version = "0.5.0"
30
+ version = "0.5.1"
31
31
  description = "llama-index llms openai integration"
32
32
  authors = [{name = "llama-index"}]
33
33
  requires-python = ">=3.9,<4.0"