Skip to content

Commit a81fd9d

Browse files
committed
Update topics to be references
1 parent e831cea commit a81fd9d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Tool/Sources/ChatBasic/ChatAgent.swift

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

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

0 commit comments

Comments
 (0)