Skip to content

Commit b95c60a

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

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,10 @@ - (BOOL)loadWithError:(NSError**)error {
162162
return YES;
163163
}
164164

165-
- (BOOL)generate:(NSArray<ExecuTorchLLMMultimodalInput *> *)inputs
166-
config:(ExecuTorchLLMConfig *)config
167-
withTokenCallback:(nullable void (^)(NSString *))callback
168-
error:(NSError **)error {
165+
- (BOOL)generateWithInputs:(NSArray<ExecuTorchLLMMultimodalInput *> *)inputs
166+
config:(ExecuTorchLLMConfig *)config
167+
tokenCallback:(nullable void (^)(NSString *))callback
168+
error:(NSError **)error {
169169
if (![self loadWithError:error]) {
170170
return NO;
171171
}

0 commit comments

Comments
 (0)