You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
AI Blogger v1.0.18
Korean
티스토리 발행 시 이미지가 만료형 Kakao CDN 서명 URL로 본문에 저장되어 며칠 뒤 깨질 수 있던 문제를 보완했습니다.
티스토리 이미지 업로드 후 본문 HTML은 에디터가 생성한 이미지 태그를 유지하고, 저장 API의 첨부 목록은 만료 쿼리 없는 내부 첨부키(kage@...) 기준으로 전달하도록 정리했습니다.
AI가 생성한 본문 HTML에 외부 <img src="https://..."> 이미지가 직접 포함되는 경우, 발행 전에 이미지를 다운로드해 로컬 업로드 이미지로 자동 전환합니다.
다운로드할 외부 이미지는 공개 HTTP/HTTPS URL만 허용하고, 로컬/사설 네트워크 주소, 비이미지 응답, 과도하게 큰 파일은 차단하도록 안전 검사를 추가했습니다.
외부 이미지 다운로드가 실패하거나 유효하지 않은 경우 깨진 외부 링크를 본문에 남기지 않도록 처리했습니다.
티스토리 업로드 응답 파싱 실패 시에도 발행 전체가 불필요하게 중단되지 않도록 예외 처리를 보강했습니다.
Gemini API 모델 목록을 동적으로 조회해 generateContent를 지원하는 최신 텍스트 모델을 자동 후보로 사용하도록 개선했습니다.
Gemini 호출 시 v1beta와 v1 API 버전을 순차적으로 시도해, Google의 모델/엔드포인트 변경에도 소스 수정 없이 대응할 수 있도록 보강했습니다.
설정 화면과 API 키 테스트에서도 Gemini 모델 목록을 실시간 조회해 새 모델이 추가되어도 드롭다운과 키 검증 후보에 자동 반영되도록 개선했습니다.
English
Fixed a Tistory publishing issue where images could be saved into post HTML as expiring signed Kakao CDN URLs and break after several days.
Kept Tistory editor-generated image tags in post HTML while sending stable internal attachment references (kage@...) without expiring query parameters in the save payload.
Added automatic ingestion for external <img src="https://..."> tags found in generated article HTML: images are downloaded before publishing and routed through the normal local upload flow.
Added safety checks for external image downloads, allowing only public HTTP/HTTPS image URLs and blocking local/private-network targets, non-image responses, and oversized files.
Removed unavailable external images from generated content instead of leaving broken hotlinks in the published article.
Hardened Tistory upload response handling so response parse errors do not unnecessarily stop the entire publish flow.
Added dynamic Gemini model discovery so AI Blogger can automatically use current generateContent-capable text models without hardcoded source updates.
Added Gemini API version fallback across v1beta and v1 to tolerate Google model or endpoint changes more gracefully.
Updated the Settings model dropdown and API key test flow to fetch Gemini models live, so newly available models can be reflected automatically.