Skip to content

Commit 4f10d97

Browse files
authored
Rename generate method to generateWithInputs
1 parent c369192 commit 4f10d97

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

extension/llm/apple/ExecuTorchLLM/Exported/ExecuTorchLLMMultimodalRunner.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,10 +193,10 @@ __attribute__((objc_subclassing_restricted))
193193
@param error On failure, populated with an NSError explaining the issue.
194194
@return YES if generation completes successfully, NO if an error occurred.
195195
*/
196-
- (BOOL)generate:(NSArray<ExecuTorchLLMMultimodalInput *> *)inputs
197-
config:(ExecuTorchLLMConfig *)config
198-
withTokenCallback:(nullable void (^)(NSString *))callback
199-
error:(NSError **)error
196+
- (BOOL)generateWithInputs:(NSArray<ExecuTorchLLMMultimodalInput *> *)inputs
197+
config:(ExecuTorchLLMConfig *)config
198+
tokenCallback:(nullable void (^)(NSString *))callback
199+
error:(NSError **)error
200200
NS_SWIFT_NAME(generate(_:_:tokenCallback:));
201201

202202
/**

0 commit comments

Comments
 (0)