Skip to content

docs: correct two inaccurate FAQ answers#6

Merged
sena-labs merged 1 commit into
mainfrom
claude/eloquent-keller-6132e5
May 7, 2026
Merged

docs: correct two inaccurate FAQ answers#6
sena-labs merged 1 commit into
mainfrom
claude/eloquent-keller-6132e5

Conversation

@sena-labs
Copy link
Copy Markdown
Owner

Summary

  • Q1 (tool calling): corrected a misleading description. The previous answer implied the pipe receives a single pre-composed request and forwards it once. In reality, Open WebUI runs an iterative loop — after each tool execution it appends a role: "tool" message and re-invokes the pipe with the full updated thread. The new answer reflects this accurately.
  • Q2 (FREE_ONLY): removed the google/gemma-* and qwen/qwen3-* model examples, which are now factually wrong — those families carry an explicit :free suffix like all other free models on OpenRouter. The underlying two-pass detection logic (suffix check → pricing field fallback) is correct and unchanged; the answer now describes the logic without time-sensitive model examples.
  • Q3 / Q4: verified correct against official OpenRouter and Open WebUI docs — no changes.

Verification

Cross-checked against:

🤖 Generated with Claude Code

Q1 (tool calling): the previous answer implied a single one-shot forward.
Open WebUI actually re-invokes the pipe iteratively after each tool
execution, appending role:tool messages to the thread each round.

Q2 (FREE_ONLY): removed the google/gemma-* and qwen/qwen3-* examples,
which are now incorrect — those models carry an explicit :free suffix.
The two-pass detection logic (suffix check + pricing fields) is unchanged.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 7, 2026 11:06
@sena-labs sena-labs merged commit 09169aa into main May 7, 2026
6 checks passed
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the README FAQ to more accurately describe (1) how Open WebUI iteratively re-invokes pipes during tool calling, and (2) how FREE_ONLY determines whether a model is free on OpenRouter.

Changes:

  • Clarify that tool calling happens in an iterative loop where Open WebUI appends role: "tool" messages and re-invokes the pipe with the updated thread.
  • Remove time-sensitive model examples from the FREE_ONLY FAQ answer and describe the two-pass “:free + pricing” logic generically.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md
Comment on lines +308 to +310
ID. The pipe uses a two-pass check: first it looks for the `:free` suffix, then it falls
back to inspecting the `pricing.prompt` and `pricing.completion` fields returned by the
OpenRouter `/models` endpoint — if both are `0`, the model is treated as free.
@sena-labs sena-labs deleted the claude/eloquent-keller-6132e5 branch May 7, 2026 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants