Class SessionInstructionsApi
java.lang.Object
com.github.copilot.generated.rpc.SessionInstructionsApi
API methods for the
instructions namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionGets instruction sources loaded for the session.reload()For local sessions, invalidates instruction discovery and the model-facing prompt, then returns freshly discovered sources.
-
Method Details
-
getSources
Gets instruction sources loaded for the session.- Since:
- 1.0.0
-
reload
For local sessions, invalidates instruction discovery and the model-facing prompt, then returns freshly discovered sources. The updated prompt takes effect on the next turn. Remote sessions must reload on their agent host instead.- Since:
- 1.0.0
-