Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
" project_client = AIProjectClient(\n",
" endpoint=os.environ[\"PROJECT_ENDPOINT\"],\n",
" credential=DefaultAzureCredential(),\n",
" api_version=\"latest\"\n",
" )\n",
"else:\n",
" from azure.ai.projects.models import FunctionTool, ToolSet\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -557,11 +557,9 @@ def evaluation_evaluate_classes_methods(self):
response="The weather in New York is sunny.",
tool_calls={
"type": "tool_call",
"tool_call": {
"id": "call_eYtq7fMyHxDWIgeG2s26h0lJ",
"type": "function",
"function": {"name": "fetch_weather", "arguments": {"location": "New York"}},
},
"tool_call_id": "call_eYtq7fMyHxDWIgeG2s26h0lJ",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have a spec as reference for this change? -- The change looks good, but it should align with a spec for the users to use, e.g. it'll be great if we align it with responses API tool output

"name": "fetch_weather",
"arguments": {"location": "New York"},
},
tool_definitions={
"id": "fetch_weather",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -563,11 +563,9 @@ def evaluation_evaluate_classes_methods(self):
response="The weather in New York is sunny.",
tool_calls={
"type": "tool_call",
"tool_call": {
"id": "call_eYtq7fMyHxDWIgeG2s26h0lJ",
"type": "function",
"function": {"name": "fetch_weather", "arguments": {"location": "New York"}},
},
"tool_call_id": "call_eYtq7fMyHxDWIgeG2s26h0lJ",
"name": "fetch_weather",
"arguments": {"location": "New York"},
},
tool_definitions={
"id": "fetch_weather",
Expand Down