Skip to content

Commit 3df2cba

Browse files
committed
custom url hardcoded removed.
1 parent cd8e2ff commit 3df2cba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

model-deployment/A2A_agents_on_MD/agent_a/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ async def test_client_main() -> None:
158158
logging.basicConfig(level=logging.INFO)
159159
logger = logging.getLogger(__name__)
160160

161-
base_url = 'https://modeldeployment.us-ashburn-1.oci.customer-oci.com/ocid1.tenancy.oc1..aaaaaaaafwgqzxcwlkkpl5i334qpv62s375upsw2j4ufgcizfnnhjd4l55ia/agent-a/predict'
161+
base_url = '<add your custom url mdocid url here taken from the invoke your model screen in model deployment console>'
162162
async with httpx.AsyncClient(auth=get_auth(), verify=False, headers={"Content-Length": "0"}) as httpx_client:
163163
resolver = A2ACardResolver(
164164
httpx_client=httpx_client,

model-deployment/A2A_agents_on_MD/agent_a/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ async def main() -> None:
5252
logging.basicConfig(level=logging.INFO)
5353
logger = logging.getLogger(__name__)
5454

55-
base_url = 'https://modeldeployment.us-ashburn-1.oci.customer-oci.com/ocid1.tenancy.oc1..aaaaaaaafwgqzxcwlkkpl5i334qpv62s375upsw2j4ufgcizfnnhjd4l55ia/agent-a/predict'
55+
base_url = '<add your custom url mdocid url here taken from the invoke your model screen in model deployment console>'
5656
async with httpx.AsyncClient(auth=get_auth(), verify=False, headers={"Content-Length": "0"}) as httpx_client:
5757
resolver = A2ACardResolver(
5858
httpx_client=httpx_client,

0 commit comments

Comments
 (0)