协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
model-development【开发与工程】Configure and extend VLMEvalKit model wrappers, API providers, registries, and prompt adapters.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is to configure an existing VLMEvalKit model name, add or adapt a local VLM wrapper, use LiteLLM/LMDeploy/OpenAI-compatible APIs, register model aliases, or implement dataset-aware prompt adapters. VLMEvalKit is the distribution/import package vlmeval; its main evaluation CLI is run.py, and the console helper is vlmutil.
supported_VLM name, JSON model config, --base-url, or a new wrapper/adapter.BaseModel.generate() / generate_inner() / optional chat_inner() contracts.BaseAPI.generate() / generate_inner() ret-code contracts.status.json, scans, and summaries: evaluation.vlmutil mlist all or narrower categories, then use the exact key from vlmeval/config.py.run.py --config when the user needs local aliases or per-model kwargs without editing package files.run.py --base-url when a local/remote service already exposes a chat-completions-compatible endpoint; this route constructs LMDeployAPI without editing config.py.vlmeval/vlm/, vlmeval/api/, or vlmeval/api/adapters/, then register it in vlmeval/config.py or a JSON config.BaseModel, BaseAPI, LiteLLM, LMDeploy/OpenAI-compatible invocation contracts.supported_VLM, model_groups, vlmutil mlist, JSON config, and --base-url selection rules.use_custom_prompt, process_inputs, process_payload, postprocess, and thinking split patterns.Before routing a model-development change back to evaluation:
supported_VLM or is defined in the JSON model section, unless --base-url is intentionally used.text, image, and when supported video.generate_inner(message, dataset=None); only add chat_inner when multi-turn chat is supported.(ret_code, answer, log) from generate_inner and let BaseAPI.generate() handle retry/failure behavior.--custom-prompt or custom_prompt kwargs.Primary evidence: docs/en/Development.md, docs/en/Quickstart.md, docs/en/EvalByLMDeploy.md, docs/en/ConfigSystem.md, README.md, run.py, vlmeval/vlm/base.py, vlmeval/vlm/__init__.py, vlmeval/api/base.py, vlmeval/api/litellm_api.py, vlmeval/api/lmdeploy.py, vlmeval/api/openai_sdk.py, vlmeval/api/adapters/base.py, vlmeval/api/adapters/internvl2.py, vlmeval/api/adapters/internvl3.py, vlmeval/api/adapters/interns1_1.py, vlmeval/api/__init__.py, vlmeval/config.py, and tests/test_litellm_api.py.