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
2 changes: 1 addition & 1 deletion packages/uipath-agent-framework/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "uipath-agent-framework"
version = "0.0.13"
version = "0.0.14"
description = "Python SDK that enables developers to build and deploy Microsoft Agent Framework agents to the UiPath Cloud Platform"
readme = "README.md"
requires-python = ">=3.11"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def get_weather(location: str) -> str:


# Create an agent with tools
agent = OpenAIChatClient(model_id="gpt-4o-mini").as_agent(
agent = OpenAIChatClient(model_id="gpt-4.1-mini-2025-04-14").as_agent(
name="weather_agent",
instructions="You are a helpful weather assistant. Use the get_weather tool to provide weather information.",
tools=[get_weather],
Expand Down
2 changes: 1 addition & 1 deletion packages/uipath-agent-framework/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def get_weather(location: str) -> str:
agent = Agent(
name="weather_agent",
model=UiPathGemini(model="gemini-2.5-flash"),
# model=UiPathOpenAI(model="gpt-4o-mini-2024-07-18"),
# model=UiPathOpenAI(model="gpt-4.1-mini-2025-04-14"),
# model=UiPathAnthropic(model="anthropic.claude-haiku-4-5-20251001-v1:0"),
instruction="You are a helpful weather assistant. Use the get_weather tool to provide weather information.",
tools=[get_weather],
Expand Down
2 changes: 1 addition & 1 deletion packages/uipath-llamaindex/samples/chat-agent/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from llama_index.llms.openai import OpenAI
from llama_index.tools.tavily_research import TavilyToolSpec

llm = OpenAI(model="gpt-4o-mini")
llm = OpenAI(model="gpt-4.1-mini-2025-04-14")
tavily_tool = TavilyToolSpec(api_key=os.environ["TAVILY_API_KEY"])

SYSTEM_PROMPT = (
Expand Down
6 changes: 3 additions & 3 deletions packages/uipath-openai-agents/samples/company_agent/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class Output(BaseModel):

Be professional, empathetic, and maintain confidentiality.
When employees introduce themselves by name, acknowledge them personally.""",
model="gpt-4o-mini",
model="gpt-4.1-mini-2025-04-14",
tools=[
check_pto_balance,
submit_leave_request,
Expand Down Expand Up @@ -101,7 +101,7 @@ class Output(BaseModel):

Always search for preferred vendors when employees ask about suppliers.
Be helpful in navigating procurement processes.""",
model="gpt-4o-mini",
model="gpt-4.1-mini-2025-04-14",
tools=[
check_budget_availability,
get_vendor_information,
Expand Down Expand Up @@ -140,7 +140,7 @@ class Output(BaseModel):

Be clear, precise, and cite specific policy sections.
If employees have complex scenarios, help them submit clarification requests.""",
model="gpt-4o-mini",
model="gpt-4.1-mini-2025-04-14",
tools=[
get_company_policy,
check_compliance_status,
Expand Down
2 changes: 1 addition & 1 deletion packages/uipath-pydantic-ai/samples/graph-flow/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class BlogState:

# --- Agents ---

MODEL = "gpt-4o-mini-2024-07-18"
MODEL = "gpt-4.1-mini-2025-04-14"
uipath_client = UiPathChatOpenAI(model_name=MODEL)

writer_agent = Agent(
Expand Down
2 changes: 1 addition & 1 deletion packages/uipath-pydantic-ai/samples/multi-agent/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class ReportOutput(BaseModel):
code_snippet: str = Field(description="A relevant Python code example")


MODEL = "gpt-4o-mini-2024-07-18"
MODEL = "gpt-4.1-mini-2025-04-14"
uipath_client = UiPathChatOpenAI(model_name=MODEL)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class SupportResponse(BaseModel):

# --- Agents ---

MODEL = "gpt-4o-mini-2024-07-18"
MODEL = "gpt-4.1-mini-2025-04-14"
uipath_client = UiPathChatOpenAI(model_name=MODEL)

# Step 1: Classify the request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def get_weather(ctx: RunContext[None], location: str) -> str:
return f"Weather fetch failed: {e}"


uipath_client = UiPathChatOpenAI(model_name="gpt-4o-mini-2024-07-18")
uipath_client = UiPathChatOpenAI(model_name="gpt-4.1-mini-2025-04-14")

agent = Agent(
uipath_client.model,
Expand Down
2 changes: 1 addition & 1 deletion packages/uipath-pydantic-ai/samples/structured-io/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class ResearchOutput(BaseModel):
)


uipath_client = UiPathChatOpenAI(model_name="gpt-4o-mini-2024-07-18")
uipath_client = UiPathChatOpenAI(model_name="gpt-4.1-mini-2025-04-14")

agent = Agent(
uipath_client.model,
Expand Down
Loading