← All tools
EDTOOLKITS GUIDES

Build a request without accidentally sending it

By Team Edtoolkits · AI learning

Inspect model name, role order, temperature and streaming fields before using a separate local client.

Use the guide alongside the working tool.

Open Call Your Local Model from Code →

Explore the lesson

Watch a script send a message to localhost and get a reply.

Write ask.py, run it and change the question.

Build the request and use the troubleshooter if it fails.

A comparison to try

Enter a short question and a system instruction, then read the generated request JSON. Check that the system message precedes the user message and stream is false. Try a question containing quotation marks.

Read the result

A request builder exposes the exact text and options another program would send. It does not establish that a runner is installed, that the named model exists or that an answer has been generated.

A mistake to avoid

The page never calls your model. Endpoint and schema conventions can differ between runners; keep a local service appropriately restricted and check its documentation before reusing the request in another application.

Teaching model and privacy

A written tutorial with a request builder. The page never calls your model. The address and request shape follow Ollama's documented chat endpoint; other runners differ, so check yours.

Ready to apply this workflow?

Try Call Your Local Model from Code →

Explore a related workflow

All practical guides →

Found unclear instructions or an unexpected result? Contact Team Edtoolkits.

YOUR BROWSER, YOUR CHOICE