mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 11:33:14 +00:00
fix: preserve image url order when deduping
This commit is contained in:
parent
1bdcb6de8d
commit
4d114d2e29
1 changed files with 1 additions and 2 deletions
|
|
@ -80,5 +80,4 @@ async def fetch_image_block(
|
|||
|
||||
|
||||
def dedupe_urls(urls: list[str]) -> list[str]:
|
||||
deduped: set[str] = set(urls)
|
||||
return list(deduped)
|
||||
return list(dict.fromkeys(urls))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue