Skip to content

Commit 7ee3ebd

Browse files
committed
Make OCI integration test auth_profile configurable via env var
Allow overriding the OCI config profile used by test_oci_langchain_agent through OCI_AUTH_PROFILE (defaults to DEFAULT for backward compat). Signed-off-by: Federico Kamelhar <federico.kamelhar@oracle.com>
1 parent e975dcd commit 7ee3ebd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/nvidia_nat_langchain/tests/test_langchain_agents.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ async def test_oci_langchain_agent(model_env_var: str, provider: str):
238238
compartment_id=os.environ["OCI_COMPARTMENT_ID"],
239239
region=os.environ.get("OCI_REGION", "us-chicago-1"),
240240
auth_type="API_KEY",
241-
auth_profile="DEFAULT",
241+
auth_profile=os.environ.get("OCI_AUTH_PROFILE", "DEFAULT"),
242242
provider=provider,
243243
temperature=0.0,
244244
max_tokens=64,

0 commit comments

Comments
 (0)