trustgraph/trustgraph-vertexai/trustgraph/model/text_completion
cybermaggedon cce3acd84f
fix: repair deferred imports to preserve module-level names for test patching (#831)
A previous commit moved SDK imports into __init__/methods and
stashed them on self, which broke @patch targets in 24 unit tests.

This fixes the approach: chunker and pdf_decoder use module-level
sentinels with global/if-None guards so imports are still deferred but
patchable. Google AI Studio reverts to standard module-level imports
since the module is only loaded when communicating with Gemini.
Keeps lazy loading on other imports.
2026-04-18 11:43:21 +01:00
..
googleaistudio fix: repair deferred imports to preserve module-level names for test patching (#831) 2026-04-18 11:43:21 +01:00
vertexai Use ClientError & code to determine 429 error (#638) 2026-02-20 08:00:07 +00:00