ChatRequest
Properties
Link copied to clipboard
This is the model that is currently selected in the UI. Extensions can use this or use lm.selectChatModels to pick another model. Don't hold onto this past the lifetime of the request.
Link copied to clipboard
The list of references and their values that are referenced in the prompt.
Link copied to clipboard
A token that can be passed to lm.invokeTool when invoking a tool inside the context of handling a chat request. This associates the tool invocation to a chat session.
Link copied to clipboard
The list of tools that the user attached to their request.