File tree 4 files changed +2
-4
lines changed
llama-index-integrations/agent/llama-index-agent-openai
4 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ credentials.json
24
24
token.json
25
25
.python-version
26
26
.DS_Store
27
- /storage /
28
27
* .sqlite3
29
28
* .db
30
29
llama-index-core /llama_index /core /_static
Original file line number Diff line number Diff line change 1
- . /storage /
2
1
.DS_Store
3
2
# Byte-compiled / optimized / DLL files
4
3
__pycache__ /
Original file line number Diff line number Diff line change @@ -552,7 +552,7 @@ def _should_continue(
552
552
if n_function_calls > self ._max_function_calls :
553
553
return False
554
554
555
- return tool_calls is not None
555
+ return tool_calls is not None and len ( tool_calls ) > 0
556
556
557
557
558
558
def get_tools (self , input : str ) -> List [BaseTool ]:
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ dev = [
27
27
28
28
[project ]
29
29
name = " llama-index-agent-openai"
30
- version = " 0.4.6 "
30
+ version = " 0.4.7 "
31
31
description = " llama-index agent openai integration"
32
32
authors = [{
name =
" Your Name" ,
email =
" [email protected] " }]
33
33
requires-python = " >=3.9,<4.0"
You can’t perform that action at this time.
0 commit comments