Skip to content
MyDSHMy DSH Field Notes
中文
Independently maintained; not affiliated with DeepSeek. No association with mydsh.dev or other MyDSH sites.

Home/Getting started/Your first task

The full first-session echo: what happens between instruction and result

You want to know how many steps it took, how many tool calls, and why it sometimes stalls. Reading the echo gives you first-hand material for later debugging.

VerifiedVersion and environmentChecked 2026-11-14
Host version
0.1.2-alpha.5
Checked
2026-11-14

A session echo is not one result line. It is one instruction, then several tool calls, then one summary. Understanding that shape is what lets you locate the failing layer.

The usual structure

  1. You send a sentence. The host sends it to the model with context.
  2. The model decides to call a tool first (say, list a directory) and returns a tool call, not an answer.
  3. The host runs the tool, appends the result as a new message, and calls the model again.
  4. The model sees the result and either calls another tool or answers.
  5. The final reply lands in the UI and the loop ends.

The key point: every extra tool call costs a full model round trip. So a long wait usually means many round trips, not a slow network.

Capturing it as primary material

  • Copy the whole output into a text file, not just the last sentence.
  • Record: start time, end time, number of tool calls, retries.
  • If you rerun the same task with different wording, keep both — comparing tool-call counts beats comparing wall-clock time.
Do not judge by total duration alone. Same task, double the time, same call count means network or server variance. Call count going from two to seven means a wording problem, and fixing the wording beats changing networks.

When you need this

Three cases: proving a bug is reproducible, deciding whether a slowdown is the model or the environment, and keeping evidence that something used to work. The third is gold after an upgrade breaks your usual command.

What counts as working

Check every line. All of them pass or the job is not done.

  • The record includes tool-call counts, not just the result
  • Start and end times present
  • Two runs of the same task can be compared

Where it fails

Symptom, cause, what to do — written in the order it actually happens.

SymptomCauseWhat to do
Cannot find past sessions$DSH_HOME/sessions by defaultLook there by timestamp. On this machine it reaches 896 MB, so never copy it wholesale
No tool calls visible in the echoThe current view or log level collapses intermediate stepsSwitch to a step-visible view, or save the full output elsewhere

Sources

Verified means measured here. Compiled means every line carries a source.