From e85c128ed85fb7796996cc80ff48851224985056 Mon Sep 17 00:00:00 2001 From: imnyang Date: Mon, 23 Jun 2025 20:39:00 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20SSO=20=EB=A1=9C=EA=B7=B8=EC=9D=B8=20?= =?UTF-8?q?=EC=A0=88=EC=B0=A8=20=EA=B0=84=EC=86=8C=ED=99=94=20=EB=B0=8F=20?= =?UTF-8?q?=EB=B6=88=ED=95=84=EC=9A=94=ED=95=9C=20JSON=20=EB=B0=98?= =?UTF-8?q?=ED=99=98=20=ED=98=95=EC=8B=9D=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/llm/prompt/fallback.py | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/lib/llm/prompt/fallback.py b/lib/llm/prompt/fallback.py index b8ae199..a79d8ff 100644 --- a/lib/llm/prompt/fallback.py +++ b/lib/llm/prompt/fallback.py @@ -65,9 +65,7 @@ extend_planner_system_message = f""" 각 SSO 버튼에 대해 다음을 수행: 1. 버튼 클릭 -2. 🌐 페이지가 이동되면, **현재 주소창(URL)을 확인하여 리디렉션된 OAuth URL**을 `oauth_uri`로 저장 - → 예: `https://accounts.google.com/o/oauth2/auth?...` -3. ✅ 로그인 진행: +2. ✅ 로그인 진행: - 로그인 페이지에서 OAuth 인증을 완료합니다. - sign in with your username(email) x_username and password is x_password - 버튼같은게 안눌리면 새로고침을 해봐 @@ -85,17 +83,6 @@ chrome://settings/clearBrowserData에 들어가서 삭제해주세요. - ❌ 버튼 클릭 후 페이지 로딩만 기다리고 돌아가기 - ❌ URL 저장 없이 go_back() 호출 -📤 각 로그인 후 다음 형식으로 결과 저장: - -```json -[ - {{ - "provider": "Google", - "oauth_uri": "https://example.com/auth/google?client_id=..." - }} -] -```` - --- ### ✨ 추가 안전 장치: "뒤로가기(go_back) 호출 조건" 제한 @@ -114,11 +101,7 @@ chrome://settings/clearBrowserData에 들어가서 삭제해주세요. * 유효한 SSO 버튼이 **전혀 없을 경우** * 예외, 오류 등 발생 시 -📤 즉시 중단 후 다음 형식으로 반환: - -```json -[] -``` +-> 즉시 중단 ---