Skip to content

Commit 9be6faa

Browse files
committed
fix web playground
1 parent 39db278 commit 9be6faa

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

web-playground/backend/Sources/PlaygroundAPI/Types/Chat.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
import Foundation
1717
import Hummingbird
1818

19+
import BedrockService
20+
1921
extension Message: @retroactive ResponseCodable {}
2022

2123
struct ChatInput: Codable {

web-playground/backend/Sources/PlaygroundAPI/Types/ImageGeneration.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
import Foundation
1717
import Hummingbird
1818

19+
import BedrockService
20+
1921
extension ImageGenerationOutput: @retroactive ResponseCodable {}
2022

2123
struct ImageGenerationInput: Codable {

web-playground/backend/Sources/PlaygroundAPI/Types/ListModels.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,6 @@
1616
import Foundation
1717
import Hummingbird
1818

19+
import BedrockService
20+
1921
extension ModelSummary: @retroactive ResponseEncodable {}

web-playground/backend/Sources/PlaygroundAPI/Types/TextGeneration.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
import Foundation
1717
import Hummingbird
1818

19+
import BedrockService
20+
1921
extension TextCompletion: @retroactive ResponseCodable {}
2022

2123
struct TextCompletionInput: Codable {

0 commit comments

Comments
 (0)