Uses of Class
com.github.copilot.rpc.MessageOptions
Packages that use MessageOptions
Package
Description
Core classes for the GitHub Copilot SDK for Java.
Configuration classes and data transfer objects for the Copilot SDK.
-
Uses of MessageOptions in com.github.copilot
Methods in com.github.copilot with parameters of type MessageOptionsModifier and TypeMethodDescriptionCopilotSession.send(MessageOptions options) Sends a message to the Copilot session.CopilotSession.sendAndWait(MessageOptions options) Sends a message and waits until the session becomes idle with default 60 second timeout.CopilotSession.sendAndWait(MessageOptions options, long timeoutMs) Sends a message and waits until the session becomes idle. -
Uses of MessageOptions in com.github.copilot.rpc
Methods in com.github.copilot.rpc that return MessageOptionsModifier and TypeMethodDescriptionMessageOptions.clone()Creates a shallow clone of thisMessageOptionsinstance.MessageOptions.setAgentMode(AgentMode agentMode) Sets the per-message agent UI mode.MessageOptions.setAttachments(List<? extends MessageAttachment> attachments) Sets attachments to include with the message.MessageOptions.setDisplayPrompt(String displayPrompt) Sets the display prompt shown in the timeline instead of the prompt.Sets the message delivery mode.Sets the message prompt to send to the assistant.MessageOptions.setRequestHeaders(Map<String, String> requestHeaders) Sets custom per-turn HTTP headers for outbound model requests.