File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Sources/FunctionCalling-AIProxySwift Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ extension ToolContainer {
1111
1212 // swiftlint:disable:next line_length
1313 // https://github.com/lzell/AIProxySwift?tab=readme-ov-file#how-to-use-openai-structured-outputs-json-schemas-in-a-tool-call
14- func toOpenAITools( strict: Bool = false ) -> [ AIProxyOpenAITool ] {
14+ public func toOpenAITools( strict: Bool = false ) -> [ AIProxyOpenAITool ] {
1515 guard let allTools else { return [ ] }
1616
1717 return allTools. map { tool in
@@ -25,7 +25,7 @@ extension ToolContainer {
2525 }
2626
2727 // https://github.com/lzell/AIProxySwift?tab=readme-ov-file#how-to-use-streaming-tool-calls-with-anthropic
28- func toAnthropicTools( ) -> [ AIProxyAnthropicTool ] {
28+ public func toAnthropicTools( ) -> [ AIProxyAnthropicTool ] {
2929 guard let allTools else { return [ ] }
3030
3131 return allTools. map { tool in
@@ -39,7 +39,7 @@ extension ToolContainer {
3939
4040 // swiftlint:disable:next line_length
4141 // https://github.com/lzell/AIProxySwift?tab=readme-ov-file#how-to-make-a-tool-call-request-with-llama-and-togetherai
42- func toTogetherAITools( ) -> [ AIProxyTogetherAITool ] {
42+ public func toTogetherAITools( ) -> [ AIProxyTogetherAITool ] {
4343 guard let allTools else { return [ ] }
4444
4545 return allTools. map { tool in
You can’t perform that action at this time.
0 commit comments