Skip to content

Commit e831cea

Browse files
committed
Rename extraContext to topics
1 parent e430646 commit e831cea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tool/Sources/ChatBasic/ChatAgent.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,18 @@ public struct ChatAgentRequest {
2121
public var text: String
2222
public var history: [ChatMessage]
2323
public var references: [ChatMessage.Reference]
24-
public var extraContext: String
24+
public var topics: [String]
2525

2626
public init(
2727
text: String,
2828
history: [ChatMessage],
2929
references: [ChatMessage.Reference],
30-
extraContext: String
30+
topics: [String]
3131
) {
3232
self.text = text
3333
self.history = history
3434
self.references = references
35-
self.extraContext = extraContext
35+
self.topics = topics
3636
}
3737
}
3838

0 commit comments

Comments
 (0)