We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 985d478 commit 374da72Copy full SHA for 374da72
1 file changed
Tool/Sources/ChatBasic/ChatAgent.swift
@@ -33,17 +33,20 @@ public struct ChatAgentRequest {
33
public var history: [ChatMessage]
34
public var references: [ChatMessage.Reference]
35
public var topics: [ChatMessage.Reference]
36
+ public var agentInstructions: String? = nil
37
38
public init(
39
text: String,
40
history: [ChatMessage],
41
references: [ChatMessage.Reference],
- topics: [ChatMessage.Reference]
42
+ topics: [ChatMessage.Reference],
43
+ agentInstructions: String? = nil
44
) {
45
self.text = text
46
self.history = history
47
self.references = references
48
self.topics = topics
49
+ self.agentInstructions = agentInstructions
50
}
51
52
0 commit comments