File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
src/movie_poster_agent_svc Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ async def create_agent(self) -> ChatAgent:
8484 agent_name = "MoviePosterValidator" ,
8585 )
8686 # Enable Azure AI observability (optional but recommended)
87- await chat_client .setup_azure_ai_observability ()
87+ # DEPRECATED await chat_client.setup_azure_ai_observability()
8888
8989 return ChatAgent (
9090 chat_client = chat_client ,
Original file line number Diff line number Diff line change 11#! /bin/bash
2- set -ex
2+ # set -ex
33source .env
44
5- MOVIE_ID=" 1369_3170_Family_59954 "
5+ MOVIE_ID=" 525_268153_Comedy_47573 "
66
77
88curl -X GET " $MOVIE_GALLERY_ENDPOINT /movies/$MOVIE_ID " | jq .
@@ -22,4 +22,5 @@ curl -X POST "$MOVIE_POSTER_AGENT_ENDPOINT/validate" \
2222 -d " poster_url=${STORAGE_ACCOUNT_BLOB_URL} movieposters/${MOVIE_ID} .png" \
2323 -d " movie_title=${movie_title} " \
2424 -d " movie_genre=${genre} " \
25+ -d " movie_id=${MOVIE_ID} " \
2526 -d " language=french" | jq .
Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ async def validate_poster_endpoint(
8686 language : str = Form ("en" , description = "Language for the validation response" )
8787):
8888 """Validate a movie poster image and description."""
89+ logger .info (f"Validation for movie ID: { movie_id } " )
8990 try :
9091 # Validate input
9192
You can’t perform that action at this time.
0 commit comments