Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
746b796
Upgrade azure-ai-projects to 2.1.0 and agent-framework to 1.3.0
Prachig-Microsoft May 20, 2026
c234316
fix: update agent_framework.azure imports to agent_framework.openai f…
Prachig-Microsoft May 20, 2026
e73f9f4
fix: replace removed event classes with WorkflowEvent type checks
Prachig-Microsoft May 20, 2026
77f0171
revert: change agent-framework to 1.1.1, revert all 1.3.0 code changes
Prachig-Microsoft May 20, 2026
4e87965
fix: apply breaking-change fixes for agent-framework 1.1.1
Prachig-Microsoft May 20, 2026
ee4650a
fix: regenerate uv.lock files for agent-framework 1.1.1
Prachig-Microsoft May 21, 2026
1b14417
fix: update test patches to use new agent_framework.openai classes
Prachig-Microsoft May 21, 2026
b400522
fix: migrate all renamed agent-framework symbols for 1.1.1
Prachig-Microsoft May 21, 2026
1e66f9e
fix: update docstring example to use Agent() constructor pattern
Prachig-Microsoft May 21, 2026
803fc11
fix: pass start_executor to WorkflowBuilder constructor
Prachig-Microsoft May 21, 2026
1927aa0
fix: use executor instances in WorkflowBuilder (1.1.1 API)
Prachig-Microsoft May 21, 2026
793f1b3
fix: align all code with agent-framework 1.1.1 API
Prachig-Microsoft May 21, 2026
369e3f7
fix: Workflow.run_stream() -> run(stream=True) in 1.1.1
Prachig-Microsoft May 21, 2026
9c23281
fix: remove await from sync ctx.set_state() and fix Role enum usage
Prachig-Microsoft May 21, 2026
ce961ad
chore: revert irrelevant docstring/comment changes from upgrade
Prachig-Microsoft May 21, 2026
f7c4134
fix: remove unused imports and trailing blank line (lint fixes)
Prachig-Microsoft May 22, 2026
8255859
Merge branch 'dev' into feature/upgrade-azure-ai-libs
Prachig-Microsoft May 22, 2026
13fe76a
fix: replace invalid 'reasoning' dict with 'reasoning_effort' string …
Prachig-Microsoft May 22, 2026
96df974
fix: replace Role.USER with 'user' string in test_input_observer_midd…
Prachig-Microsoft May 22, 2026
5eefab5
Merge branch 'feature/upgrade-azure-ai-libs' into feature/upgrade-azu…
Prachig-Microsoft May 27, 2026
5022e34
chore: upgrade agent-framework from 1.1.1 to 1.3.0
Prachig-Microsoft May 27, 2026
f934b45
fix: strip temperature/top_p for reasoning models in AgentBuilder
Prachig-Microsoft May 27, 2026
83e189a
fix: skip logprobs for reasoning models in map_handler
Prachig-Microsoft May 27, 2026
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
19 changes: 13 additions & 6 deletions infra/vscode_web/codeSample.py
Original file line number Diff line number Diff line change
@@ -1,25 +1,32 @@
from azure.ai.projects import AIProjectClient
from azure.identity import DefaultAzureCredential
from azure.ai.agents.models import ListSortOrder

project_client = AIProjectClient.from_connection_string(
credential=DefaultAzureCredential(),
conn_str="<%= connectionString %>")

agent = project_client.agents.get_agent("<%= agentId %>")

thread = project_client.agents.create_thread()
thread = project_client.agents.threads.create()
print(f"Created thread, ID: {thread.id}")

message = project_client.agents.create_message(
message = project_client.agents.messages.create(
thread_id=thread.id,
role="user",
content="<%= userMessage %>"
)

run = project_client.agents.create_and_process_run(
run = project_client.agents.runs.create_and_process(
thread_id=thread.id,
agent_id=agent.id)
messages = project_client.agents.list_messages(thread_id=thread.id)

for text_message in messages.text_messages:
print(text_message.as_dict())
if run.status == "failed":
print(f"Run failed: {run.last_error}")
else:
messages = project_client.agents.messages.list(
thread_id=thread.id, order=ListSortOrder.ASCENDING)

for message in messages:
if message.text_messages:
print(f"{message.role}: {message.text_messages[-1].text.value}")
2 changes: 1 addition & 1 deletion infra/vscode_web/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
azure-ai-projects==1.0.0b12
azure-ai-projects==2.1.0
azure-identity==1.20.0
ansible-core~=2.17.0
2 changes: 1 addition & 1 deletion src/ContentProcessor/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "Content Process Gold Standard Solution Accelerator - Content Proc
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"agent-framework==1.0.0b260127",
"agent-framework==1.3.0",
"azure-ai-inference==1.0.0b9",
"azure-appconfiguration==1.8.0",
"azure-identity==1.26.0b1",
Expand Down
Loading
Loading