You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
session.sendAndWait(newMessageOptions().setPrompt("Continue with the new model")).get();
131
164
```
@@ -624,6 +657,10 @@ The `PermissionRequestResultKind` class provides well-known constants for common
624
657
|`PermissionRequestResultKind.DENIED_BY_RULES`|`"denied-by-rules"`| Denied by policy rules |
625
658
|`PermissionRequestResultKind.DENIED_COULD_NOT_REQUEST_FROM_USER`|`"denied-no-approval-rule-and-could-not-request-from-user"`| No rule and user could not be prompted |
626
659
|`PermissionRequestResultKind.DENIED_INTERACTIVELY_BY_USER`|`"denied-interactively-by-user"`| User denied interactively |
660
+
|`PermissionRequestResultKind.NO_RESULT`|`"no-result"`| Leave the request unanswered (pass to another handler) |
661
+
662
+
Use `NO_RESULT` in extension scenarios where your handler is not responsible for a particular
663
+
permission request and wants to let another handler (or the CLI default) handle it instead.
627
664
628
665
You can also pass a raw string to `setKind(String)` for custom or extension values. Use
629
666
[`PermissionHandler.APPROVE_ALL`](apidocs/com/github/copilot/sdk/json/PermissionHandler.html) to approve all
See [EventErrorPolicy](apidocs/com/github/copilot/sdk/EventErrorPolicy.html) and [EventErrorHandler](apidocs/com/github/copilot/sdk/EventErrorHandler.html) Javadoc for details.
930
967
931
968
---
932
969
970
+
## OpenTelemetry Support
971
+
972
+
Enable distributed tracing for the Copilot CLI server by setting a `TelemetryConfig` on
973
+
`CopilotClientOptions`. When configured, the CLI is started with OpenTelemetry instrumentation
0 commit comments