Skip to content

Commit

Permalink
fix: ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeuoly committed Dec 9, 2024
1 parent ae72514 commit 4ccd571
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions api/core/agent/plugin_entities.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from typing import Optional

from pydantic import BaseModel, ConfigDict, Field, ValidationInfo, field_validator

from core.tools.entities.common_entities import I18nObject
Expand Down
1 change: 0 additions & 1 deletion api/core/plugin/manager/agent.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from collections.abc import Generator
from typing import Any, Optional


from core.agent.entities import AgentInvokeMessage
from core.plugin.entities.plugin import GenericProviderID
from core.plugin.entities.plugin_daemon import (
Expand Down
1 change: 1 addition & 0 deletions api/core/workflow/nodes/agent/agent_node.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from collections.abc import Generator
from typing import cast

from core.plugin.manager.exc import PluginDaemonClientSideError
from core.workflow.entities.node_entities import NodeRunResult
from core.workflow.nodes.agent.entities import AgentNodeData
Expand Down
1 change: 1 addition & 0 deletions api/core/workflow/nodes/agent/entities.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from typing import Any, Literal, Union

from pydantic import BaseModel, ValidationInfo, field_validator

from core.workflow.nodes.base.entities import BaseNodeData
Expand Down

0 comments on commit 4ccd571

Please sign in to comment.