Skip to content

Commit 080ec22

Browse files
fix mypy and spelling
1 parent 0db4e7b commit 080ec22

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# Get Started with Microsoft Agent Framework Foundry
1+
# Get Started with Microsoft Agent Framework Foundry Local
22

33
Please install this package as the extra for `agent-framework`:
44

55
```bash
6-
pip install agent-framework[foundry]
6+
pip install agent-framework-foundry-local --pre
77
```
88

99
and see the [README](https://github.com/microsoft/agent-framework/tree/main/python/README.md) for more information.

python/packages/foundry_local/agent_framework_foundry_local/_foundry_local_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
class FoundryLocalSettings(AFBaseSettings):
1919
"""Foundry local model settings.
2020
21-
The settings are first loaded from environment variables with the prefix 'FOUNDRY_'.
21+
The settings are first loaded from environment variables with the prefix 'FOUNDRY_LOCAL_'.
2222
If the environment variables are not found, the settings can be loaded from a .env file
2323
with the encoding 'utf-8'. If the settings are not found in the .env file, the settings
2424
are ignored; however, validation will fail alerting that the settings are missing.

python/packages/foundry_local/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ exclude_dirs = ["tests"]
7979
executor.type = "uv"
8080
include = "../../shared_tasks.toml"
8181
[tool.poe.tasks]
82-
mypy = "mypy --config-file $POE_ROOT/pyproject.toml agent_framework_foundry"
82+
mypy = "mypy --config-file $POE_ROOT/pyproject.toml agent_framework_foundry_local"
8383
test = "pytest --cov=agent_framework_foundry_local --cov-report=term-missing:skip-covered tests"
8484

8585
[build-system]

python/samples/getting_started/agents/foundry_local/foundry_basic.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from agent_framework_foundry_local import FoundryLocalChatClient
88

99
"""
10-
This samples demonstrates basic usage of FoundryLocalChatClient.
10+
This sample demonstrates basic usage of the FoundryLocalChatClient.
1111
Shows both streaming and non-streaming responses with function tools.
1212
1313
Running this sample the first time will be slow, as the model needs to be
@@ -40,7 +40,7 @@ async def non_streaming_example(client: FoundryLocalChatClient) -> None:
4040
instructions="You are a helpful agent.",
4141
tools=get_weather,
4242
)
43-
query = "Whats the weather like in Seattle?"
43+
query = "What's the weather like in Seattle?"
4444
print(f"User: {query}")
4545
result = await agent.run(query)
4646
print(f"Agent: {result}\n")
@@ -55,7 +55,7 @@ async def streaming_example(client: FoundryLocalChatClient) -> None:
5555
instructions="You are a helpful agent.",
5656
tools=get_weather,
5757
)
58-
query = "Whats the weather like in Amsterdam?"
58+
query = "What's the weather like in Amsterdam?"
5959
print(f"User: {query}")
6060
print("Agent: ", end="", flush=True)
6161
async for chunk in agent.run_stream(query):

0 commit comments

Comments
 (0)