Skip to content

Commit c197801

Browse files
committed
Remove warnings
1 parent 490c781 commit c197801

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

Tool/Sources/ChatBasic/ChatGPTFunction.swift

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -68,20 +68,10 @@ public extension ChatGPTFunction where Arguments == NoArguments {
6868
public protocol ChatGPTArgumentsCollectingFunction: ChatGPTFunction where Result == String {}
6969

7070
public extension ChatGPTArgumentsCollectingFunction {
71-
@available(
72-
*,
73-
deprecated,
74-
message: "This function is only used to get a structured output from the bot."
75-
)
7671
func prepare(reportProgress: @escaping ReportProgress = { _ in }) async {
7772
assertionFailure("This function is only used to get a structured output from the bot.")
7873
}
7974

80-
@available(
81-
*,
82-
deprecated,
83-
message: "This function is only used to get a structured output from the bot."
84-
)
8575
func call(
8676
arguments: Arguments,
8777
reportProgress: @escaping ReportProgress = { _ in }
@@ -90,11 +80,6 @@ public extension ChatGPTArgumentsCollectingFunction {
9080
return ""
9181
}
9282

93-
@available(
94-
*,
95-
deprecated,
96-
message: "This function is only used to get a structured output from the bot."
97-
)
9883
func call(
9984
argumentsJsonString: String,
10085
reportProgress: @escaping ReportProgress

0 commit comments

Comments
 (0)