Greptile P2 follow-ups on _content_utils.py: - Drop unreachable ``_resolve_messages``. The new ``_iter_inspection_messages`` walks ``messages`` AND ``input`` independently; leaving the old fallback-only variant around invited a future maintainer to wire it back up and silently narrow coverage. - Rename ``iter_user_text`` → ``iter_message_text``. The helper walks every role (user, assistant, system); the old name implied user-turn content only. Callers and tests updated. - Close mixed-list coverage gap. When ``data["input"]`` was a list mixing content-part dicts and bare strings, ``iter_message_text`` and ``build_inspection_messages`` only saw the dict parts while ``walk_user_text`` already inspected both. ``_iter_text_parts_in_content`` now treats bare strings inside a content list as text fragments, so read and write helpers agree on coverage. Adds two regression tests for the mixed-list shape. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cloudformation_stack | ||
| dist | ||
| enterprise_hooks | ||
| enterprise_ui | ||
| litellm_enterprise | ||
| __init__.py | ||
| LICENSE.md | ||
| pyproject.toml | ||
| README.md | ||
LiteLLM Enterprise
Code in this folder is licensed under a commercial license. Please review the LICENSE file within the /enterprise folder
These features are covered under the LiteLLM Enterprise contract
👉 Using in an Enterprise / Need specific features ? Meet with us here
See all Enterprise Features here 👉 Docs