计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
contexts-and-retrievers【效率与协作】Choose and validate LaVague provider contexts, credentials, custom model objects, cache contexts, and retriever pipelines without making live provider or browser calls by default.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a LaVague task needs provider/model selection, API-key checks, custom LlamaIndex llm/embedding/mm_llm wiring, cache-backed contexts, WorldModel knowledge examples, task user_data, or ActionEngine/NavigationEngine retriever selection.
RetrieversPipeline: stay here.../browser-drivers/SKILL.md.WebAgent, WorldModel, ActionEngine, logs, token counts, or agent run/debug loops: route to ../core-web-agent/SKILL.md after choosing the context or retriever here.AgentServer, or lavague-serve: route to ../server-extension-gradio/SKILL.md.lavague-qa and lavague-test: route to ../qa-and-test-runner/SKILL.md.references/provider-contexts.md; install the matching optional package if its import is missing.OPENAI_API_KEY for OpenAI embedding or multimodal pieces.WorldModel.from_context(context) and ActionEngine.from_context(context, driver=driver) when all three context models should travel together. Pass individual custom LlamaIndex objects only when mixing providers deliberately.references/retriever-reference.md. Keep the default retriever unless retrieval logs show missing target nodes or a page has unusual markup.python sub-skills/contexts-and-retrievers/scripts/lavague_context_retriever_probe.py --context all --retriever all --check-env
The probe imports modules, inspects constructor signatures, and reports whether required credential variables are present. It does not instantiate providers, contact model APIs, launch browsers, download data, or start servers.
OPENAI_API_KEY, then use OpenaiContext() or rely on LaVague's default context.llm, mm_llm, deployment, endpoint, and embedding_deployment; do not rely on defaults for deployment names.ANTHROPIC_API_KEY and OPENAI_API_KEY, then use AnthropicContext().GOOGLE_API_KEY, then use GeminiContext().FIREWORKS_API_KEY and OPENAI_API_KEY, then use FireworksContext().ContextCache only when prompt/embedding stores are intentionally local and versioned for the run; understand fallback behavior before assuming it is offline.InteractiveXPathRetriever(driver), SyntaxicRetriever(), and XPathedChunkRetriever() when you need deterministic XPath marking plus lightweight syntax filtering; add Cohere only when COHERE_API_KEY and network/API use are explicitly permitted.references/provider-contexts.md — provider packages, signatures, environment variables, default-model caveats, and cache stores.references/retriever-reference.md — retriever classes, default pipeline, Cohere rerank behavior, and selection rules.references/customization-workflows.md — mixed-provider contexts, from_context, add_knowledge, task user_data, and template snippets.references/troubleshooting.md — optional-package, API-key, Azure, embedding, cache, Cohere, and NLTK/import issues.Keep provider calls and browser launches opt-in. The examples distilled into this sub-skill originally run live web objectives, but the bundled helper only performs local import/signature/env checks and prints runnable templates. Never store API keys in generated files, logs, or prompt caches.