Skip to content

Commit 2e0ed5b

Browse files
Removed the str conversion of the kernel function tools and renoved kernel functions for consistent response
1 parent ffffd12 commit 2e0ed5b

File tree

9 files changed

+849
-849
lines changed

9 files changed

+849
-849
lines changed

src/backend/kernel_agents/planner_agent.py

Lines changed: 1 addition & 1 deletion
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 {

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 & 207 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)