Skip to content

Commit 506ad10

Browse files
authored
Rename generate method to generateWithPrompt
1 parent c51599e commit 506ad10

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ - (BOOL)loadWithError:(NSError**)error {
7474
return YES;
7575
}
7676

77-
- (BOOL)generate:(NSString*)prompt
78-
config:(ExecuTorchLLMConfig *)config
79-
withTokenCallback:(nullable void (^)(NSString*))callback
80-
error:(NSError**)error {
77+
- (BOOL)generateWithPrompt:(NSString*)prompt
78+
config:(ExecuTorchLLMConfig *)config
79+
tokenCallback:(nullable void (^)(NSString*))callback
80+
error:(NSError**)error {
8181
if (![self loadWithError:error]) {
8282
return NO;
8383
}

0 commit comments

Comments
 (0)