← 返回
未分类 Key 中文

Openrouter Free Responder

Zero-cost OpenRouter responder that auto-discovers the best currently free model, retries on failures, and returns clean answers fast. Use this when a user a...
零成本 OpenRouter 响应器,自动发现当前最佳免费模型,失败自动重试,快速返回简洁答案。适用于用户...
hgosansn
未分类 clawhub v0.1.0 1 版本 100000 Key: 需要
★ 2
Stars
📥 284
下载
💾 1
安装
1
版本
#latest

概述

Use the bundled script to execute prompts against free OpenRouter models.

Workflow

  1. Ensure OPENROUTER_API_KEY is set.
  2. Run:

```bash

python3 {baseDir}/scripts/openrouter_free_chat.py --prompt ""

```

  1. If the user provided system guidance, pass --system "...".
  2. Return the response text and mention which model was used.

Command Options

  • --prompt (required): User prompt text.
  • --system (optional): System instruction.
  • --max-attempts (optional, default 8): Number of top free models to try.
  • --temperature (optional, default 0.3): Sampling temperature.
  • --debug (optional): Print model ranking and fallback attempts to stderr.

Output Contract

The script prints one JSON object to stdout with:

  • selected_model: Model that produced the final response.
  • response: Final assistant text.
  • attempted_models: Ordered list of tried models.
  • free_model_candidates: Number of free models discovered.

If no model succeeds, the script exits non-zero with an error message.

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-05-12 05:24 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 713 📥 243,958
security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,216 📥 266,630
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 670 📥 324,286