Skip to content

Commit

Permalink
updating code to avoid name collission (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesrochabrun committed Mar 24, 2024
1 parent 3c363dc commit 293685e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,11 @@ public struct FileCitation: Codable {
public let type: String
/// The text in the message content that needs to be replaced.
public let text: String
public let fileCitation: FileCitation
public let fileCitation: FileCitationDetails
public let startIndex: Int
public let endIndex: Int

public struct FileCitation: Codable {
public struct FileCitationDetails: Codable {

/// The ID of the specific File the citation is from.
public let fileID: String
Expand Down Expand Up @@ -187,11 +187,11 @@ public struct FilePath: Codable {
public let type: String
/// The text in the message content that needs to be replaced.
public let text: String
public let filePath: FilePath
public let filePath: FilePathDetails
public let startIndex: Int
public let endIndex: Int

public struct FilePath: Codable {
public struct FilePathDetails: Codable {
/// The ID of the file that was generated.
public let fileID: String

Expand Down

0 comments on commit 293685e

Please sign in to comment.