Skip to content

Commit 79aaf3e

Browse files
Merge pull request microsoft#412 from microsoft/dev
fix: Merging dev to main for the demo env tool string length issue
2 parents a1cb771 + 0933f74 commit 79aaf3e

File tree

9 files changed

+849
-851
lines changed

9 files changed

+849
-851
lines changed

src/backend/kernel_agents/planner_agent.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ def _generate_args(self, objective: str) -> any:
536536
if agent_name in self._available_agents:
537537
tools_list.append(tools)
538538

539-
tools_str = str(tools_list)
539+
tools_str = tools_list
540540

541541
# Return a dictionary with template variables
542542
return {
@@ -568,7 +568,6 @@ def _get_template():
568568
These agents have access to the following functions:
569569
{{$tools_str}}
570570
571-
The first step of your plan should be to ask the user for any additional information required to progress the rest of steps planned.
572571
573572
Only use the functions provided as part of your plan. If the task is not possible with the agents and tools provided, create a step with the agent of type Human and mark the overall status as completed.
574573

src/backend/kernel_tools/generic_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,4 +130,4 @@ def generate_tools_json_doc(cls) -> str:
130130
tools_list.append(tool_entry)
131131

132132
# Return the JSON string representation
133-
return json.dumps(tools_list, ensure_ascii=False, indent=2)
133+
return json.dumps(tools_list, ensure_ascii=False)

src/backend/kernel_tools/hr_tools.py

Lines changed: 173 additions & 173 deletions
Large diffs are not rendered by default.

src/backend/kernel_tools/marketing_tools.py

Lines changed: 103 additions & 103 deletions
Large diffs are not rendered by default.

src/backend/kernel_tools/procurement_tools.py

Lines changed: 345 additions & 345 deletions
Large diffs are not rendered by default.

src/backend/kernel_tools/product_tools.py

Lines changed: 207 additions & 208 deletions
Large diffs are not rendered by default.

src/backend/kernel_tools/tech_support_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ def generate_tools_json_doc(cls) -> str:
378378
tools_list.append(tool_entry)
379379

380380
# Return the JSON string representation
381-
return json.dumps(tools_list, ensure_ascii=False, indent=2)
381+
return json.dumps(tools_list, ensure_ascii=False)
382382

383383
# This function does NOT have the kernel_function annotation
384384
# because it's meant for introspection rather than being exposed as a tool

src/backend/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ requires-python = ">=3.11"
77
dependencies = [
88
"azure-ai-evaluation>=1.5.0",
99
"azure-ai-inference>=1.0.0b9",
10-
"azure-ai-projects>=1.0.0b9",
11-
"azure-ai-agents>=1.2.0b1",
10+
"azure-ai-projects==1.0.0",
11+
"azure-ai-agents==1.2.0b2",
1212
"azure-cosmos>=4.9.0",
1313
"azure-identity>=1.21.0",
1414
"azure-monitor-events-extension>=0.1.0",
@@ -27,6 +27,6 @@ dependencies = [
2727
"pytest-cov==5.0.0",
2828
"python-dotenv>=1.1.0",
2929
"python-multipart>=0.0.20",
30-
"semantic-kernel>=1.32.2",
30+
"semantic-kernel==1.35.3",
3131
"uvicorn>=0.34.2",
3232
]

src/backend/uv.lock

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)