fix(bedesten): include itemTypeList in fetch metadata search
The fetch tool's metadata lookup constructed BedestenSearchData without the required itemTypeList field, causing a Pydantic validation error and losing the chance to enrich the response with a proper title.
This commit is contained in:
@@ -2633,6 +2633,7 @@ async def fetch(
|
||||
BedestenSearchRequest(
|
||||
data=BedestenSearchData(
|
||||
phrase=id, # Search by document ID
|
||||
itemTypeList=["YARGITAYKARARI", "DANISTAYKARAR", "YERELHUKUK", "ISTINAFHUKUK", "KYB"],
|
||||
pageSize=1,
|
||||
pageNumber=1
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user