ios: support safe assistant inline images
This commit is contained in:
@@ -15,7 +15,9 @@ let package = Package(
|
||||
targets: ["Sybil"]),
|
||||
],
|
||||
dependencies: [
|
||||
.package(url: "https://github.com/gonzalezreal/swift-markdown-ui.git", from: "2.4.1")
|
||||
.package(url: "https://github.com/gonzalezreal/swift-markdown-ui.git", from: "2.4.1"),
|
||||
// Use MarkdownUI's existing parser to remove Agent image/HTML nodes structurally.
|
||||
.package(url: "https://github.com/swiftlang/swift-cmark", from: "0.7.1")
|
||||
],
|
||||
targets: [
|
||||
// Targets are the basic building blocks of a package, defining a module or a test suite.
|
||||
@@ -23,7 +25,9 @@ let package = Package(
|
||||
.target(
|
||||
name: "Sybil",
|
||||
dependencies: [
|
||||
.product(name: "MarkdownUI", package: "swift-markdown-ui")
|
||||
.product(name: "MarkdownUI", package: "swift-markdown-ui"),
|
||||
.product(name: "cmark-gfm", package: "swift-cmark"),
|
||||
.product(name: "cmark-gfm-extensions", package: "swift-cmark")
|
||||
],
|
||||
resources: [.process("Resources")]),
|
||||
.testTarget(
|
||||
|
||||
Reference in New Issue
Block a user