[Refactor] 리팩터링

This commit is contained in:
tv0924@icloud.com 2025-06-27 10:18:24 +09:00
commit e93e64756c
6 changed files with 32 additions and 26 deletions

View file

@ -1,5 +1,5 @@
from lib.agents.get_sso_list import get_sso_list
# 버전 업데이트 대비
# 업데이트될 버전 import 아직 개발 중
from lib.agents.get_sso_list_v2 import get_sso_list as get_sso_list_v2
from lib.agents.login_google import login_google

View file

@ -32,12 +32,12 @@ Instructions:
- Immediately stop and return the appropriate status.
7. If login proceeds without interruptions, wait for redirection back to the original site and record the final URL.
Credentials to use (only if needed):
Credentials to use for Google login:
- Email: {GOOGLE_ID}
- Password: {GOOGLE_PASSWORD}
Constraints:
- Do NOT use search engines or guess URLs only navigate links discoverable from https://example.com
- Do NOT use search engines or guess URLs.
- Do NOT use autofill, saved sessions, or cookies.
- Do NOT proceed with login if:
- The login opens in a new window (only tabs are allowed)
@ -46,7 +46,7 @@ Constraints:
- If the user is already logged in to Google and redirected back automatically, stop there and report success.
- If the login page cannot be found, return "login_page_not_found".
- If the Google login button is not found, return "sso_not_found".
- If a page such as a sign-up page appears after entering the ID and password, consider it a successful login and terminate immediately.
- If a page such as a sign-up page appears, consider it a successful login and terminate immediately.
Final Output:
Return the result in the following format only: