Class ServerInstructionsApi
java.lang.Object
com.github.copilot.generated.rpc.ServerInstructionsApi
API methods for the
instructions namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptiondiscover(InstructionsDiscoverParams params) Discovers instruction sources across user, repository, and plugin sources.Returns the canonical files and directories where a client may create custom instructions that the runtime will recognize, including ones that do not exist yet.
-
Method Details
-
discover
@CopilotExperimental public CompletableFuture<InstructionsDiscoverResult> discover(InstructionsDiscoverParams params) Discovers instruction sources across user, repository, and plugin sources.- Since:
- 1.0.0
-
getDiscoveryPaths
@CopilotExperimental public CompletableFuture<InstructionsGetDiscoveryPathsResult> getDiscoveryPaths(InstructionsGetDiscoveryPathsParams params) Returns the canonical files and directories where a client may create custom instructions that the runtime will recognize, including ones that do not exist yet. Repository targets become active once created.- Since:
- 1.0.0
-