| @@ -24,7 +24,7 @@ KIRIBAN_VIEWS_COUNTS: list[int] = sorted ({ *range (1_000, 10_000, 1_000), | |||||
| 4_545, 194_245, 245_194, 510_245 }, | 4_545, 194_245, 245_194, 510_245 }, | ||||
| reverse = True) | reverse = True) | ||||
| kiriban_list: list[tuple[int, VideoInfo, datetime]] | |||||
| kiriban_list: list[tuple[int, VideoInfo, datetime]] = [] | |||||
| watched_videos: set[str] = set () | watched_videos: set[str] = set () | ||||
| @@ -89,7 +89,7 @@ async def report_kiriban ( | |||||
| prompt += f"つけられたタグは「{ '」、「'.join (video_info['tags']) }」です。\n" | prompt += f"つけられたタグは「{ '」、「'.join (video_info['tags']) }」です。\n" | ||||
| if comments: | if comments: | ||||
| prompt += f"人気のコメントは次の通りです:「{ '」、「'.join (c.content for c in popular_comments) }」\n" | prompt += f"人気のコメントは次の通りです:「{ '」、「'.join (c.content for c in popular_comments) }」\n" | ||||
| if latest_comments != popular_comment: | |||||
| if latest_comments != popular_comments: | |||||
| prompt += f"最新のコメントは次の通りです:「{ '」、「'.join (c.content for c in latest_comments) }」\n" | prompt += f"最新のコメントは次の通りです:「{ '」、「'.join (c.content for c in latest_comments) }」\n" | ||||
| prompt += f""" | prompt += f""" | ||||
| 概要には次のように書かれています: | 概要には次のように書かれています: | ||||