mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
Refactor tool output into trait implementations (#14152)
First state to making tool outputs strongly typed (and `renderable`).
This commit is contained in:
committed by
GitHub
Unverified
parent
a5af11211a
commit
aa04ea6bd7
@@ -2851,6 +2851,7 @@ impl Session {
|
||||
AskForApproval::Never => {
|
||||
return Some(RequestPermissionsResponse {
|
||||
permissions: PermissionProfile::default(),
|
||||
scope: PermissionGrantScope::Turn,
|
||||
});
|
||||
}
|
||||
AskForApproval::Reject(reject_config)
|
||||
@@ -2858,6 +2859,7 @@ impl Session {
|
||||
{
|
||||
return Some(RequestPermissionsResponse {
|
||||
permissions: PermissionProfile::default(),
|
||||
scope: PermissionGrantScope::Turn,
|
||||
});
|
||||
}
|
||||
AskForApproval::OnFailure
|
||||
|
||||
Reference in New Issue
Block a user