mirror of
https://github.com/hoshikawa2/agent_platform_oci.git
synced 2026-09-07 10:13:46 +00:00
Adding transaction state
This commit is contained in:
@@ -26,6 +26,8 @@ class AgentState(TypedDict, total=False):
|
|||||||
available_mcp_tools: list[str]
|
available_mcp_tools: list[str]
|
||||||
selected_tool_call: dict[str, Any]
|
selected_tool_call: dict[str, Any]
|
||||||
pending_tool_call: dict[str, Any]
|
pending_tool_call: dict[str, Any]
|
||||||
|
active_transaction: dict[str, Any]
|
||||||
|
last_transaction: dict[str, Any]
|
||||||
transaction_status: str
|
transaction_status: str
|
||||||
confirmation_required: bool
|
confirmation_required: bool
|
||||||
confirmation_received: bool
|
confirmation_received: bool
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ class AgentState(TypedDict, total=False):
|
|||||||
available_mcp_tools: list[str]
|
available_mcp_tools: list[str]
|
||||||
selected_tool_call: dict[str, Any]
|
selected_tool_call: dict[str, Any]
|
||||||
pending_tool_call: dict[str, Any]
|
pending_tool_call: dict[str, Any]
|
||||||
|
active_transaction: dict[str, Any]
|
||||||
|
last_transaction: dict[str, Any]
|
||||||
transaction_status: str
|
transaction_status: str
|
||||||
confirmation_required: bool
|
confirmation_required: bool
|
||||||
confirmation_received: bool
|
confirmation_received: bool
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ class AgentState(TypedDict, total=False):
|
|||||||
available_mcp_tools: list[str]
|
available_mcp_tools: list[str]
|
||||||
selected_tool_call: dict[str, Any]
|
selected_tool_call: dict[str, Any]
|
||||||
pending_tool_call: dict[str, Any]
|
pending_tool_call: dict[str, Any]
|
||||||
|
active_transaction: dict[str, Any]
|
||||||
|
last_transaction: dict[str, Any]
|
||||||
transaction_status: str
|
transaction_status: str
|
||||||
confirmation_required: bool
|
confirmation_required: bool
|
||||||
confirmation_received: bool
|
confirmation_received: bool
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ class AgentState(TypedDict, total=False):
|
|||||||
available_mcp_tools: list[str]
|
available_mcp_tools: list[str]
|
||||||
selected_tool_call: dict[str, Any]
|
selected_tool_call: dict[str, Any]
|
||||||
pending_tool_call: dict[str, Any]
|
pending_tool_call: dict[str, Any]
|
||||||
|
active_transaction: dict[str, Any]
|
||||||
|
last_transaction: dict[str, Any]
|
||||||
transaction_status: str
|
transaction_status: str
|
||||||
confirmation_required: bool
|
confirmation_required: bool
|
||||||
confirmation_received: bool
|
confirmation_received: bool
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ class AgentState(TypedDict, total=False):
|
|||||||
available_mcp_tools: list[str]
|
available_mcp_tools: list[str]
|
||||||
selected_tool_call: dict[str, Any]
|
selected_tool_call: dict[str, Any]
|
||||||
pending_tool_call: dict[str, Any]
|
pending_tool_call: dict[str, Any]
|
||||||
|
active_transaction: dict[str, Any]
|
||||||
|
last_transaction: dict[str, Any]
|
||||||
transaction_status: str
|
transaction_status: str
|
||||||
confirmation_required: bool
|
confirmation_required: bool
|
||||||
confirmation_received: bool
|
confirmation_received: bool
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ class AgentState(TypedDict, total=False):
|
|||||||
available_mcp_tools: list[str]
|
available_mcp_tools: list[str]
|
||||||
selected_tool_call: dict[str, Any]
|
selected_tool_call: dict[str, Any]
|
||||||
pending_tool_call: dict[str, Any]
|
pending_tool_call: dict[str, Any]
|
||||||
|
active_transaction: dict[str, Any]
|
||||||
|
last_transaction: dict[str, Any]
|
||||||
transaction_status: str
|
transaction_status: str
|
||||||
confirmation_required: bool
|
confirmation_required: bool
|
||||||
confirmation_received: bool
|
confirmation_received: bool
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ class AgentState(TypedDict, total=False):
|
|||||||
available_mcp_tools: list[str]
|
available_mcp_tools: list[str]
|
||||||
selected_tool_call: dict[str, Any]
|
selected_tool_call: dict[str, Any]
|
||||||
pending_tool_call: dict[str, Any]
|
pending_tool_call: dict[str, Any]
|
||||||
|
active_transaction: dict[str, Any]
|
||||||
|
last_transaction: dict[str, Any]
|
||||||
transaction_status: str
|
transaction_status: str
|
||||||
confirmation_required: bool
|
confirmation_required: bool
|
||||||
confirmation_received: bool
|
confirmation_received: bool
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ class AgentState(TypedDict, total=False):
|
|||||||
available_mcp_tools: list[str]
|
available_mcp_tools: list[str]
|
||||||
selected_tool_call: dict[str, Any]
|
selected_tool_call: dict[str, Any]
|
||||||
pending_tool_call: dict[str, Any]
|
pending_tool_call: dict[str, Any]
|
||||||
|
active_transaction: dict[str, Any]
|
||||||
transaction_status: str
|
transaction_status: str
|
||||||
transaction_evidence: list[dict[str, Any]]
|
transaction_evidence: list[dict[str, Any]]
|
||||||
last_transaction_evidence: dict[str, Any]
|
last_transaction_evidence: dict[str, Any]
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ class AgentState(TypedDict, total=False):
|
|||||||
available_mcp_tools: list[str]
|
available_mcp_tools: list[str]
|
||||||
selected_tool_call: dict[str, Any]
|
selected_tool_call: dict[str, Any]
|
||||||
pending_tool_call: dict[str, Any]
|
pending_tool_call: dict[str, Any]
|
||||||
|
active_transaction: dict[str, Any]
|
||||||
transaction_status: str
|
transaction_status: str
|
||||||
transaction_pre_validation: dict[str, Any]
|
transaction_pre_validation: dict[str, Any]
|
||||||
transaction_evidence: list[dict[str, Any]]
|
transaction_evidence: list[dict[str, Any]]
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ class AgentState(TypedDict, total=False):
|
|||||||
available_mcp_tools: list[str]
|
available_mcp_tools: list[str]
|
||||||
selected_tool_call: dict[str, Any]
|
selected_tool_call: dict[str, Any]
|
||||||
pending_tool_call: dict[str, Any]
|
pending_tool_call: dict[str, Any]
|
||||||
|
active_transaction: dict[str, Any]
|
||||||
transaction_status: str
|
transaction_status: str
|
||||||
transaction_pre_validation: dict[str, Any]
|
transaction_pre_validation: dict[str, Any]
|
||||||
transaction_evidence: list[dict[str, Any]]
|
transaction_evidence: list[dict[str, Any]]
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ class AgentState(TypedDict, total=False):
|
|||||||
available_mcp_tools: list[str]
|
available_mcp_tools: list[str]
|
||||||
selected_tool_call: dict[str, Any]
|
selected_tool_call: dict[str, Any]
|
||||||
pending_tool_call: dict[str, Any]
|
pending_tool_call: dict[str, Any]
|
||||||
|
active_transaction: dict[str, Any]
|
||||||
|
last_transaction: dict[str, Any]
|
||||||
transaction_status: str
|
transaction_status: str
|
||||||
transaction_pre_validation: dict[str, Any]
|
transaction_pre_validation: dict[str, Any]
|
||||||
confirmation_required: bool
|
confirmation_required: bool
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user