fix(agent): expose network context
This commit is contained in:
@@ -28,6 +28,7 @@ def test_agent_auth_context_returns_metadata_user_and_project_context():
|
||||
client = _build_client(
|
||||
project_context=ProjectContext(
|
||||
project_id=project_id,
|
||||
project_code="fengyang",
|
||||
user_id=user_id,
|
||||
project_role="editor",
|
||||
),
|
||||
@@ -50,6 +51,7 @@ def test_agent_auth_context_returns_metadata_user_and_project_context():
|
||||
"role": "user",
|
||||
"is_superuser": False,
|
||||
"project_id": str(project_id),
|
||||
"network": "fengyang",
|
||||
"project_role": "editor",
|
||||
"token_expires_at": "2026-06-11T13:10:00+00:00",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user