repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
Mirrored from https://github.com/yingqi-z20/Agent-libOS
stars
latest
clone command
git clone gitlawb://did:key:z6MkqRzA...RfoM/yingqi-z20-Agen...git clone gitlawb://did:key:z6MkqRzA.../yingqi-z20-Agen...d98dd2c9IPC1d ago| #2 |
| #3 | from dataclasses import dataclass |
| #4 | from typing import Any |
| #5 |
| #6 | from agent_libos.models.base import HumanRequestID, PID, StrEnum |
| #7 |
| #8 |
| #9 | class HumanRequestStatus(StrEnum): |
| #10 | PENDING = "pending" |
| #11 | APPROVED = "approved" |
| #12 | REJECTED = "rejected" |
| #13 | EDITED = "edited" |
| #14 | CANCELLED = "cancelled" |
| #15 | DELIVERED = "delivered" |
| #16 |
| #17 |
| #18 | @dataclass |
| #19 | class HumanRequest: |
| #20 | request_id: HumanRequestID |
| #21 | pid: PID |
| #22 | human: str |
| #23 | payload: dict[str, Any] |
| #24 | status: HumanRequestStatus |
| #25 | decision: dict[str, Any] | None |
| #26 | blocking: bool |
| #27 | created_at: str |
| #28 | updated_at: str |
| #29 |