File tree Expand file tree Collapse file tree 4 files changed +3
-9
lines changed
examples/frameworks/nat_autogen_demo
packages/nvidia_nat_autogen Expand file tree Collapse file tree 4 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -43,18 +43,12 @@ uv pip install -e examples/frameworks/nat_autogen_demo
4343
4444### Set up API keys
4545
46- LiteLLM routes to many providers. For OpenAI:
46+ For OpenAI:
4747``` bash
4848export OPENAI_API_KEY=" <your_openai_key>"
4949# Optional (defaults to https://api.openai.com/v1 if unset)
5050export OPENAI_API_BASE=" ${OPENAI_API_BASE:- https:// api.openai.com/ v1} "
5151```
52- For Azure OpenAI, set:
53- ``` bash
54- export OPENAI_API_KEY=" <your_azure_openai_key>"
55- export OPENAI_API_BASE=" https://<your-azure-endpoint>/openai"
56- ```
57- You can find LLM provider specific instructions in the LiteLLM documentation. Please set the appropriate environment variables.
5852
5953### Run the Workflow
6054
Original file line number Diff line number Diff line change @@ -48,3 +48,4 @@ nvidia-nat = { workspace = true }
4848
4949[project .entry-points .'nat .components' ]
5050nat_autogen = " nat.plugins.autogen.register"
51+ nat_autogen_tools = " nat.plugins.autogen.tools.register"
Original file line number Diff line number Diff line change 1- # SPDX-FileCopyrightText: Copyright (c) 2024- 2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
1+ # SPDX-FileCopyrightText: Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22# SPDX-License-Identifier: Apache-2.0
33#
44# Licensed under the Apache License, Version 2.0 (the "License");
Original file line number Diff line number Diff line change @@ -202,7 +202,6 @@ def test_function_metadata_setting(self):
202202
203203 def test_func ():
204204 """Test function."""
205- pass
206205
207206 # Mock the decorator pattern from the source
208207 name = "test_name"
You can’t perform that action at this time.
0 commit comments