SUI-613: charge generated images by size #99

Merged
johannes.moskaliuk merged 2 commits from dev_sara_SUI-613 into main 2026-08-04 20:02:29 +00:00

Summary: configurable token-equivalent image credits by size and count; reserve, commit, and release generate_image quota around the Elli processor; audit/report and processor contract updated. Checks: PHP lint passed for all changed PHP files; git diff --check passed; PHPUnit not verified because the existing container test environment remains initialised for a different version and reports missing local/h5pauthor/version.php; PHPCS unavailable in container. Head-SHA: 8557fd3. Refs SUI-613.

Summary: configurable token-equivalent image credits by size and count; reserve, commit, and release generate_image quota around the Elli processor; audit/report and processor contract updated. Checks: PHP lint passed for all changed PHP files; git diff --check passed; PHPUnit not verified because the existing container test environment remains initialised for a different version and reports missing local/h5pauthor/version.php; PHPCS unavailable in container. Head-SHA: 8557fd3. Refs SUI-613.
feat(elediaai_core): charge generated images by size
Some checks failed
Repo-Gates / gates (push) Has been cancelled
Repo-Gates / Notify CI-Fixer (push) Has been cancelled
PHPCS quality / PHPCS ratchet (push) Has been cancelled
PHPCS quality / PHPCS full scan (push) Has been cancelled
PHPCS quality / Notify CI-Fixer (push) Has been cancelled
Repo-Gates / gates (pull_request) Has been cancelled
Repo-Gates / Notify CI-Fixer (pull_request) Has been cancelled
Moodle Plugin CI / changes (pull_request) Has been cancelled
Moodle Plugin CI / Notify CI-Fixer (pull_request) Has been cancelled
PHPCS quality / PHPCS ratchet (pull_request) Has been cancelled
PHPCS quality / PHPCS full scan (pull_request) Has been cancelled
PHPCS quality / Notify CI-Fixer (pull_request) Has been cancelled
8557fd3b3a
Refs SUI-613
Merge branch 'main' into dev_sara_SUI-613
Some checks failed
Repo-Gates / gates (push) Failing after 28s
PHPCS quality / PHPCS full scan (push) Has been skipped
PHPCS quality / PHPCS ratchet (push) Failing after 40s
Repo-Gates / gates (pull_request) Failing after 24s
Moodle Plugin CI / changes (pull_request) Successful in 25s
PHPCS quality / PHPCS full scan (pull_request) Has been skipped
ci-fixer/error PHPCS-Ratchet: PHPCS ratchet: 1 changed plugin(s), 10 file(s), 1 new violation(s). PHPCS quality gate failed; see summary.json and the per-plugin reports.
PHPCS quality / PHPCS ratchet (pull_request) Failing after 33s
Repo-Gates / Notify CI-Fixer (push) Has been skipped
PHPCS quality / Notify CI-Fixer (push) Has been skipped
Repo-Gates / Notify CI-Fixer (pull_request) Has been skipped
Moodle Plugin CI / rag (MOODLE_502_STABLE) (, local/elediaai_core local/elediaai_tutor_premium, rag, MOODLE_502_STABLE, local/literag local/ragingest webservice/elediamcp) (pull_request) Successful in 5m25s
Moodle Plugin CI / Behat chat (MOODLE_502_STABLE) (, local/elediaai_core, chat, MOODLE_502_STABLE, blocks/elediaai_chat mod/aichat mod/aifeedback, @mod_aichat) (pull_request) Has been skipped
PHPCS quality / Notify CI-Fixer (pull_request) Has been skipped
Moodle Plugin CI / authoring (MOODLE_502_STABLE) (, local/elediaai_core, authoring, MOODLE_502_STABLE, local/elediaai_questiongen local/elediaai_coursegen qbank/elediaai_questiongen local/elediaai_h5pauthor qtype/aitext) (pull_request) Successful in 5m0s
Moodle Plugin CI / core (MOODLE_502_STABLE) (customerportal, local/elediaai_core qtype/aitext, core, MOODLE_502_STABLE, ai/provider/eledia local/activityfilter local/aitransparency auth/eledia_eduplaces admin/tool/taskrunner customfield/field/languageselect filter/eledia… (pull_request) Successful in 4m49s
Moodle Plugin CI / chat (MOODLE_502_STABLE) (, local/elediaai_core, chat, MOODLE_502_STABLE, blocks/elediaai_chat mod/aichat mod/aifeedback) (pull_request) Successful in 6m40s
Moodle Plugin CI / tutor-with-quota (MOODLE_502_STABLE) (, local/elediaai_core, tutor-with-quota, MOODLE_502_STABLE, blocks/elediaai_tutor) (pull_request) Successful in 7m10s
Moodle Plugin CI / learning (MOODLE_502_STABLE) (lernhive, local/elediaai_core mod/aichat, learning, MOODLE_502_STABLE, local/elediaai_selfstudy local/elediaai_strategy local/elediaai_teachertools local/elediaai_tutor_premium blocks/elediaai_path) (pull_request) Successful in 4m54s
Moodle Plugin CI / Notify CI-Fixer (pull_request) Has been skipped
9aa39198e8
johannes.moskaliuk deleted branch dev_sara_SUI-613 2026-08-04 20:02:29 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
johannes.moskaliuk/eledia.ai!99
No description provided.