§
    ™Štj‡  ã                   ó  — d dl mZ d dlmZ d dlmZmZ  ede¬¦  «         G d„ de¦  «        ¦   «         Z ede¬¦  «         G d	„ d
e¦  «        ¦   «         Z ede¬¦  «         G d„ de¦  «        ¦   «         Z	 G d„ de¦  «        Z
dS )é    )ÚLiteral)ÚLangGraphDeprecatedSinceV10)Ú	TypedDictÚ
deprecatedz HumanInterruptConfig has been moved to `langchain.agents.interrupt`. Please update your import to `from langchain.agents.interrupt import HumanInterruptConfig`.)Úcategoryc                   ó<   — e Zd ZU dZeed<   eed<   eed<   eed<   dS )ÚHumanInterruptConfiga÷  Configuration that defines what actions are allowed for a human interrupt.

    This controls the available interaction options when the graph is paused for human input.

    Attributes:
        allow_ignore: Whether the human can choose to ignore/skip the current step
        allow_respond: Whether the human can provide a text response/feedback
        allow_edit: Whether the human can edit the provided content/state
        allow_accept: Whether the human can accept/approve the current state
    Úallow_ignoreÚallow_respondÚ
allow_editÚallow_acceptN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚboolÚ__annotations__© ó    úZ/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/langgraph/prebuilt/interrupt.pyr	   r	      sN   € € € € € € ð
	ð 	ð ÐÐÑØÐÐÑØÐÐÑØÐÐÑÐÐr   r	   z’ActionRequest has been moved to `langchain.agents.interrupt`. Please update your import to `from langchain.agents.interrupt import ActionRequest`.c                   ó(   — e Zd ZU dZeed<   eed<   dS )ÚActionRequestaD  Represents a request for human action within the graph execution.

    Contains the action type and any associated arguments needed for the action.

    Attributes:
        action: The type or name of action being requested (e.g., `"Approve XYZ action"`)
        args: Key-value pairs of arguments needed for the action
    ÚactionÚargsN)r   r   r   r   Ústrr   Údictr   r   r   r   r      s.   € € € € € € ð
ð ð €K€K�KØ
€J€J�J€J€Jr   r   z”HumanInterrupt has been moved to `langchain.agents.interrupt`. Please update your import to `from langchain.agents.interrupt import HumanInterrupt`.c                   ó8   — e Zd ZU dZeed<   eed<   edz  ed<   dS )ÚHumanInterruptaæ  Represents an interrupt triggered by the graph that requires human intervention.

    This is passed to the `interrupt` function when execution is paused for human input.

    Attributes:
        action_request: The specific action being requested from the human
        config: Configuration defining what actions are allowed
        description: Optional detailed description of what input is needed

    Example:
        ```python
        # Extract a tool call from the state and create an interrupt request
        request = HumanInterrupt(
            action_request=ActionRequest(
                action="run_command",  # The action being requested
                args={"command": "ls", "args": ["-l"]}  # Arguments for the action
            ),
            config=HumanInterruptConfig(
                allow_ignore=True,    # Allow skipping this step
                allow_respond=True,   # Allow text feedback
                allow_edit=False,     # Don't allow editing
                allow_accept=True     # Allow direct acceptance
            ),
            description="Please review the command before execution"
        )
        # Send the interrupt request and get the response
        response = interrupt([request])[0]
        ```
    Úaction_requestÚconfigNÚdescription)r   r   r   r   r   r   r	   r   r   r   r   r   r   /   sF   € € € € € € ð
ð ð< "Ð!Ð!Ñ!Ø Ð Ð Ñ Ø�t‘ÐÐÑÐÐr   r   c                   ó@   — e Zd ZU dZed         ed<   dez  ez  ed<   dS )ÚHumanResponseaZ  The response provided by a human to an interrupt, which is returned when graph execution resumes.

    Attributes:
        type: The type of response:

            - `'accept'`: Approves the current state without changes
            - `'ignore'`: Skips/ignores the current step
            - `'response'`: Provides text feedback or instructions
            - `'edit'`: Modifies the current state/content
        args: The response payload:

            - `None`: For ignore/accept actions
            - `str`: For text responses
            - `ActionRequest`: For edit actions with updated content
    )ÚacceptÚignoreÚresponseÚeditÚtypeNr   )r   r   r   r   r   r   r   r   r   r   r   r#   r#   W   sE   € € € € € € ðð ð  Ð8Ô
9Ð9Ð9Ñ9Ø
�‰*�}Ñ
$Ð$Ð$Ñ$Ð$Ð$r   r#   N)Útypingr   Úlanggraph.warningsr   Útyping_extensionsr   r   r	   r   r   r#   r   r   r   ú<module>r,      so  ðØ Ð Ð Ð Ð Ð à :Ð :Ð :Ð :Ð :Ð :Ø 3Ð 3Ð 3Ð 3Ð 3Ð 3Ð 3Ð 3ð €ð gØ(ðñ ô ðð ð ð ð ˜9ñ ô ñ	ô ðð$ €ð YØ(ðñ ô ðð ð ð ð �Iñ ô ñ	ô ðð €ð [Ø(ðñ ô ð!ð !ð !ð !ð !�Yñ !ô !ñ	ô ð!ðH%ð %ð %ð %ð %�Iñ %ô %ð %ð %ð %r   