mirror of
https://github.com/j93es/browser-use-oauth.git
synced 2026-06-05 01:01:28 +09:00
fix: get_prompt 함수에서 type 비교 시 대소문자 구분 없애기
This commit is contained in:
parent
a5d8d674b4
commit
b0a4727e13
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ def get_prompt(type:str) -> str:
|
||||||
:param type: 'extend_planner' 또는 'oauth_login'
|
:param type: 'extend_planner' 또는 'oauth_login'
|
||||||
:return: 해당하는 프롬프트 문자열
|
:return: 해당하는 프롬프트 문자열
|
||||||
"""
|
"""
|
||||||
if type == "auth":
|
if type.lower() == "auth":
|
||||||
from lib.llm.prompt.auth_list import extract_oauth_list_prompt
|
from lib.llm.prompt.auth_list import extract_oauth_list_prompt
|
||||||
return extract_oauth_list_prompt
|
return extract_oauth_list_prompt
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue