Skip to content

docs: fix the README streaming, curl and prompt examples - #387

Merged
velaraptor-runpod merged 1 commit into
runpod-workers:mainfrom
irisfield:docs/readme-example-fixes
Nov 30, 2026
Merged

velaraptor-runpod merged 1 commit into
runpod-workers:mainfrom
irisfield:docs/readme-example-fixes

Conversation

@irisfield

Copy link
Copy Markdown
Contributor

Closes #386

  • The Chat Completions streaming example iterated over response and printed chunk. The loop variable is now chunk.
  • The "After" curl example for the OpenAI-compatible route used <YOUR OPENAI API KEY>. It now uses <YOUR RUNPOD API KEY>, like the Responses and Messages curl examples.
  • The prompt input documented an apply_chat_template option that nothing reads. The text now says the prompt is sent as-is to /v1/completions, without the chat template.

@velaraptor-runpod
velaraptor-runpod self-requested a review November 30, 2026 21:01
@velaraptor-runpod
velaraptor-runpod merged commit 2de5d54 into runpod-workers:main Nov 30, 2026
6 of 9 checks passed
@irisfield
irisfield deleted the docs/readme-example-fixes branch November 30, 2026 21:05
@promptless

promptless Bot commented Nov 30, 2026

Copy link
Copy Markdown

Promptless documentation updates

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.

README: streaming example raises NameError, curl example asks for an OpenAI key, apply_chat_template has no effect

2 participants