4ff07e3c74
* feat: support fallback image parsing for quoted messages * fix: fallback parse quoted images when reply chain has placeholders * style: format network utils with ruff * test: expand quoted parser coverage and improve fallback diagnostics * fix: fallback to text-only retry when image requests fail * fix: tighten image fallback and resolve nested quoted forwards * refactor: simplify quoted message extraction and dedupe images * fix: harden quoted parsing and openai error candidates * fix: harden quoted image ref normalization * refactor: organize quoted parser settings and logging * fix: cap quoted fallback images and avoid retry loops * refactor: split quoted message parser into focused modules * refactor: share onebot segment parsing logic * refactor: unify quoted message parsing flow * feat: move quoted parser tuning to provider settings * fix: add missing i18n metadata for quoted parser settings * chore: refine forwarded message setting labels
12 lines
251 B
Python
12 lines
251 B
Python
from __future__ import annotations
|
|
|
|
from astrbot.core.utils.quoted_message.extractor import (
|
|
extract_quoted_message_images,
|
|
extract_quoted_message_text,
|
|
)
|
|
|
|
__all__ = [
|
|
"extract_quoted_message_text",
|
|
"extract_quoted_message_images",
|
|
]
|