refactor(api): use standalone graphon package (#34209)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
99
2026-03-28 05:05:32 +08:00
committed by GitHub
parent 32d394d65b
commit 40591a7c50
883 changed files with 1779 additions and 47377 deletions

View File

@@ -4,6 +4,7 @@ from threading import Lock
from typing import Any
import httpx
from graphon.nodes.code.entities import CodeLanguage
from pydantic import BaseModel
from yarl import URL
@@ -13,7 +14,6 @@ from core.helper.code_executor.jinja2.jinja2_transformer import Jinja2TemplateTr
from core.helper.code_executor.python3.python3_transformer import Python3TemplateTransformer
from core.helper.code_executor.template_transformer import TemplateTransformer
from core.helper.http_client_pooling import get_pooled_http_client
from graphon.nodes.code.entities import CodeLanguage
logger = logging.getLogger(__name__)
code_execution_endpoint_url = URL(str(dify_config.CODE_EXECUTION_ENDPOINT))