Skip to content

Commit 7780522

Browse files
authored
Merge pull request #191 from changeworld/patch-3
Fix typo
2 parents 1ac58a9 + adedf61 commit 7780522

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/ai-services/agents/how-to/tools/openapi-spec.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ with open('./weather_openapi.json', 'r') as f:
149149
# Create Auth object for the OpenApiTool (note that connection or managed identity auth setup requires additional setup in Azure)
150150
auth = OpenApiAnonymousAuthDetails()
151151

152-
# Initialize agent OpenApi tool using the read in OpenAPI spec
152+
# Initialize agent OpenAPI tool using the read in OpenAPI spec
153153
openapi = OpenApiTool(name="get_weather", spec=openapi_spec, description="Retrieve weather information for a location", auth=auth)
154154
```
155155
If you want to use connection, which stores API key, for authentication, replace the line with
@@ -184,7 +184,7 @@ An example of the audience would be ```https://cognitiveservices.azure.com/```.
184184
# [Python](#tab/python)
185185

186186
```python
187-
# Create agent with OpenApi tool and process assistant run
187+
# Create agent with OpenAPI tool and process assistant run
188188
with project_client:
189189
agent = project_client.agents.create_agent(
190190
model="gpt-4o-mini",

0 commit comments

Comments
 (0)