Class SessionAgentApi
java.lang.Object
com.github.copilot.generated.rpc.SessionAgentApi
API methods for the
agent namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptiondeselect()Identifies the target session.Identifies the target session.list()Controls whether built-in agents and authored prompt text are included.list(SessionAgentListParams params) Controls whether built-in agents and authored prompt text are included.reload()Identifies the target session.select(SessionAgentSelectParams params) Name of the custom agent to select for subsequent turns.
-
Method Details
-
list
Controls whether built-in agents and authored prompt text are included.Invokes the method with no params, applying the runtime defaults.
- Since:
- 1.0.0
-
list
@CopilotExperimental public CompletableFuture<SessionAgentListResult> list(SessionAgentListParams params) Controls whether built-in agents and authored prompt text are included.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
getCurrent
Identifies the target session.- Since:
- 1.0.0
-
select
@CopilotExperimental public CompletableFuture<SessionAgentSelectResult> select(SessionAgentSelectParams params) Name of the custom agent to select for subsequent turns.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
deselect
Identifies the target session.- Since:
- 1.0.0
-
reload
Identifies the target session.- Since:
- 1.0.0
-