Skip to content

Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.

fix(vlm): initialize Codex async client cache (#2208)

civilizedBaboonbaddbeea75e8
diff --git a/openviking/models/vlm/backends/codex_vlm.py b/openviking/models/vlm/backends/codex_vlm.py
index 71d5c2424..60bcc5129 100644
--- a/openviking/models/vlm/backends/codex_vlm.py
+++ b/openviking/models/vlm/backends/codex_vlm.py
@@ -44,6 +44,7 @@ class CodexVLM(OpenAIVLM):
if not normalized.get("api_base"):
normalized["api_base"] = DEFAULT_CODEX_BASE_URL
super().__init__(normalized)
+ self._async_client = None
def _build_responses_client(self, api_key: str, api_base: str):
kwargs = _build_openai_client_kwargs(