mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-23 14:14:46 +08:00
fix: the lint error of llm.py (#369)
This commit is contained in:
@@ -75,7 +75,7 @@ def _create_llm_use_conf(
|
|||||||
|
|
||||||
# Handle SSL verification settings
|
# Handle SSL verification settings
|
||||||
verify_ssl = merged_conf.pop("verify_ssl", True)
|
verify_ssl = merged_conf.pop("verify_ssl", True)
|
||||||
|
|
||||||
# Create custom HTTP client if SSL verification is disabled
|
# Create custom HTTP client if SSL verification is disabled
|
||||||
if not verify_ssl:
|
if not verify_ssl:
|
||||||
http_client = httpx.Client(verify=False)
|
http_client = httpx.Client(verify=False)
|
||||||
@@ -90,7 +90,6 @@ def _create_llm_use_conf(
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def get_llm_by_type(
|
def get_llm_by_type(
|
||||||
llm_type: LLMType,
|
llm_type: LLMType,
|
||||||
) -> ChatOpenAI:
|
) -> ChatOpenAI:
|
||||||
|
|||||||
Reference in New Issue
Block a user