File tree Expand file tree Collapse file tree 4 files changed +9
-7
lines changed
Expand file tree Collapse file tree 4 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ database:
8888 db: 0 # default
8989 # [optional] for knowledgebase (https://console.volcengine.com/vikingdb)
9090 viking:
91- project: # user project in Volcengine Viking DB
91+ project: default # user project in Volcengine Viking DB
9292 region: cn-beijing
9393 # [optional] for knowledgebase with viking database
9494 tos:
Original file line number Diff line number Diff line change 11[project ]
22name = " veadk-python"
3- version = " 0.2.4 "
3+ version = " 0.2.5 "
44description = " Volcengine agent development kit, integrations with Volcengine cloud services."
55readme = " README.md"
66requires-python = " >=3.10"
Original file line number Diff line number Diff line change @@ -52,11 +52,13 @@ def tool_gen_ai_tool_name(params: ToolAttributesParams) -> ExtractorResponse:
5252
5353
5454def tool_cozeloop_output (params : ToolAttributesParams ) -> ExtractorResponse :
55- function_response = params .function_response_event .get_function_responses ()[0 ]
55+ function_response = params .function_response_event .get_function_responses ()[
56+ 0
57+ ].model_dump ()
5658 tool_output = {
57- "id" : function_response . id ,
58- "name" : function_response . name ,
59- "response" : function_response . response ,
59+ "id" : function_response [ "id" ] ,
60+ "name" : function_response [ " name" ] ,
61+ "response" : function_response [ " response" ] ,
6062 }
6163 return ExtractorResponse (content = json .dumps (tool_output ) or "<unknown_tool_output>" )
6264
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- VERSION = "0.2.4 "
15+ VERSION = "0.2.5 "
You can’t perform that action at this time.
0 commit comments