mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-05-22 16:06:50 +00:00
fix: the lint error of llm.py (#369)
This commit is contained in:
+1
-2
@@ -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