Skip to content

Commit d11a4fd

Browse files
committed
Removed redundant js backup file with extension org
1 parent df26f93 commit d11a4fd

File tree

2 files changed

+1
-96
lines changed

2 files changed

+1
-96
lines changed

amd/src/editformhelper.js.org

Lines changed: 0 additions & 95 deletions
This file was deleted.

question.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,12 +179,12 @@ public function perform_request(string $prompt, string $purpose = 'feedback'): s
179179
return $llmresponse->get_content();
180180
} else if ($backend == 'core_ai_subsystem') {
181181
global $USER;
182-
$manager = \core\di::get(\core_ai\manager::class);
183182
$action = new \core_ai\aiactions\generate_text(
184183
contextid: $this->contextid,
185184
userid: $USER->id,
186185
prompttext: $prompt
187186
);
187+
$manager = \core\di::get(\core_ai\manager::class);
188188
$llmresponse = $manager->process_action($action);
189189
$responsedata = $llmresponse->get_response_data();
190190
return $responsedata['generatedcontent'];

0 commit comments

Comments
 (0)