openllm
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "openllm" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-dceff611d316937cfb6055e5d988b350a68e4479b79d897358bf0ae1821ddd10. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/serve-local-model-endpoints-for-agent-tests-with-openllm before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Start an OpenLLM server compatible with OpenAI to run selected open-source models and point an agent runtime at that server. Used to compare the server's behavior with other services before production use.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Software, accounts and paid services
- OpenLLM, Python environment, supported open model, required GPU/CPU resources, Hugging Face token for gated models, agent runtime or SDK that can call an OpenAI-compatible endpoint.
- Testing
- Not tested
Browse files
Frontmatter
name: "使用 OpenLLM 为代理测试提供本地模型端点"
slug: "serve-local-model-endpoints-for-agent-tests-with-openllm"
version: "1.0.0"
displayName: "使用 OpenLLM 为代理测试提供本地模型端点"
summary: "启动一个与 OpenAI 兼容的 OpenLLM 服务器来运行选定的开源模型,将代理运行时指向该服务器,并在生产使用前比较其行为。"
license: "MIT"
description: "启动一个与 OpenAI 兼容的 OpenLLM 服务器来运行选定的开源模型,将代理运行时指向该服务器,并在生产使用前比较其行为。"
github_stars: 12346
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Developer Tools"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 12346
npm_package: "openllm"
npm_weekly_downloads: 6使用 OpenLLM 为代理测试提供本地模型端点
Launch an OpenAI-compatible OpenLLM server for a chosen open model, point an agent runtime at it, and compare behavior before production use.
Prerequisites
OpenLLM, Python environment, supported open model, required GPU/CPU resources, Hugging Face token for gated models, agent runtime or SDK that can call an OpenAI-compatible endpoint.
Installation
Use the upstream install or setup path that matches your environment:
- pip install openllm # or pip3 install openllm
Requirements and caveats from upstream:
- <summary>OpenAI Python client</summary>
- python
Basic usage or getting-started notes:
-
OpenLLM allows developers to run any open-source LLMs (Llama 3.3, Qwen2.5, Phi3 and more) or custom models as OpenAI-compatible APIs with a single command. It features a [built-in chat...
-
Run the following commands to install OpenLLM and explore it interactively.
-
OpenLLM supports a wide range of state-of-the-art open-source LLMs. You can also add a model repository to run custom models with OpenLLM.
-
Extracted from upstream docs: https://raw.githubusercontent.com/bentoml/OpenLLM/HEAD/README.md
Documentation
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Areas to improve
-
缺少 When to Use 章节 Reported severity: Minor
文档未明确说明何时使用此 Skill,用户难以判断适用场景。
Recommendation: 建议添加 When to Use 章节,说明典型使用场景,如本地模型测试、成本优化、隐私保护等。
-
缺少端到端示例 Reported severity: Minor
文档缺少完整的端到端使用示例,用户难以理解具体操作流程。
Recommendation: 建议添加一个完整的示例,包括模型选择、启动命令、API 调用和结果验证。
Highlights
- 提供本地部署开源模型的能力,支持与 OpenAI 兼容的 API
- 适用于开发者测试、模型比较等场景,具有一定的实用价值
Areas to improve
-
触发词可进一步细化 Reported severity: Minor
触发词较为通用,可进一步细化以覆盖更多变体。
Recommendation: 建议在 description 中添加更多相关关键词,如'本地模型'、'开源模型'、'API 兼容'等。
Highlights
- description 和 summary 明确描述了核心功能
- 触发词清晰,覆盖主要使用场景
Areas to improve
-
缺少明确的步骤划分 Reported severity: Major
文档缺少明确的 Phase/步骤划分,用户难以理解执行流程。
Recommendation: 建议将 Installation 和 Basic usage 内容拆分为明确的步骤,如'1. 安装 OpenLLM'、'2. 选择模型'、'3. 启动服务器'等。
-
缺少出口条件说明 Reported severity: Minor
文档未说明如何停止服务器或清理资源。
Recommendation: 建议添加出口条件说明,如如何停止 OpenLLM 服务器、释放资源等。
Highlights
- frontmatter 完整,包含必要元数据
- 文档结构基本完整,包含 Prerequisites、Installation 等章节
Areas to improve
-
缺少关键执行细节 Reported severity: Major
文档缺少模型选择、启动命令、端口配置等关键执行细节。
Recommendation: 建议补充具体的启动命令示例,如'openllm start llama3 --port 3000',并说明如何配置端口和模型参数。
-
缺少异常处理说明 Reported severity: Major
文档未覆盖 GPU/CPU 资源不足、模型下载失败等常见异常的处理方法。
Recommendation: 建议添加异常处理说明,如资源不足时的替代方案、模型下载失败的解决方法等。
-
缺少不可逆操作确认机制 Reported severity: Minor
启动本地服务器可能占用系统资源,但文档未提醒用户确认。
Recommendation: 建议在启动服务器前添加确认提示,提醒用户注意资源占用。
Highlights
- 工具来源明确,基于 OpenLLM 官方项目
- 提及了基本的安装和使用方法
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 34
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
- raw.githubusercontent.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
OpenLLM, Python environment, supported open model, required GPU/CPU resources, Hugging Face token for gated models, agent runtime or SDK that can call an OpenAI-compatible endpoint.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.