llama-index-llms-openai 0.3.39__py3-none-any.whl → 0.3.40__py3-none-any.whl

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.
@@ -761,7 +761,7 @@ def update_tool_calls(
761
761
  List[ChoiceDeltaToolCall]: the updated tool calls
762
762
  """
763
763
  # openai provides chunks consisting of tool_call deltas one tool at a time
764
- if tool_calls_delta is None:
764
+ if tool_calls_delta is None or len(tool_calls_delta) == 0:
765
765
  return tool_calls
766
766
 
767
767
  tc_delta = tool_calls_delta[0]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: llama-index-llms-openai
3
- Version: 0.3.39
3
+ Version: 0.3.40
4
4
  Summary: llama-index llms openai integration
5
5
  Author: llama-index
6
6
  License-Expression: MIT
@@ -2,8 +2,8 @@ llama_index/llms/openai/__init__.py,sha256=8nmgixeXifQ4eVSgtCic54WxXqrrpXQPL4rhA
2
2
  llama_index/llms/openai/base.py,sha256=fu4Y1uX8IuOtVTHqaG-tyd_PpN9bUfnW6ESoyaptaVs,38620
3
3
  llama_index/llms/openai/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  llama_index/llms/openai/responses.py,sha256=SdTAqO2FqGuvm9u01BlI92IpY0RhOaJ3mU03Rc0OHso,34525
5
- llama_index/llms/openai/utils.py,sha256=0vguBzIgnc-epzG4HE4pLJADwi8FAuU_YPC_7RteO4Y,27062
6
- llama_index_llms_openai-0.3.39.dist-info/METADATA,sha256=SBLJuiMEZ46YeQs0p50HuDVieRWVT8O89Y2k8OvMR3A,3040
7
- llama_index_llms_openai-0.3.39.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8
- llama_index_llms_openai-0.3.39.dist-info/licenses/LICENSE,sha256=JPQLUZD9rKvCTdu192Nk0V5PAwklIg6jANii3UmTyMs,1065
9
- llama_index_llms_openai-0.3.39.dist-info/RECORD,,
5
+ llama_index/llms/openai/utils.py,sha256=muOF4y0GdHAx1IShN8mzPknfcXD9CbGVnT126v0jjcY,27092
6
+ llama_index_llms_openai-0.3.40.dist-info/METADATA,sha256=Y-clVQQJI87rINC8loiY6IAWJCH8kRzxS5Yt6Ayd_SA,3040
7
+ llama_index_llms_openai-0.3.40.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8
+ llama_index_llms_openai-0.3.40.dist-info/licenses/LICENSE,sha256=JPQLUZD9rKvCTdu192Nk0V5PAwklIg6jANii3UmTyMs,1065
9
+ llama_index_llms_openai-0.3.40.dist-info/RECORD,,