[GH-ISSUE #957] using omp, pi with strata bad results. #416

Closed
opened 2026-11-04 01:42:51 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @Almazick on GitHub (Oct 5, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/957

When using omp or pi agent with strata, the results are not that great but when using the same prompt in Strata web chat, I get very good results. I uploaded the results pictures. It's not just for this test. I tested a few other prompts such as create a single html file classic snake game.

I started omp with the following command. omp --no-skills --no-extensions --no-rules
OMP is set to Auto reasoning.
I use Qwen3.8 Flash Next, 128k context size with unsloth IQ4_XS model I'm using High thinking default and enabled "Use for other apps too
omp and other API clients get these settings for anything they don't set themselves"

Please use test Prompt

Create a single HTML file with an interactive cloth simulator. The cloth should hang naturally, move with realistic weight, and let me click, drag, pull, and whip it around the screen with my mouse. Create high mesh for cloth. Only provide a fully working code. Test your code once you are finished, go back over all of your code, test the logic mentally, make sure everything works correctly, and fix anything that may be broken or incomplete before giving the final answer.

RESULT from OMP

Image

RESULT from Strata web chat

Image
Originally created by @Almazick on GitHub (Oct 5, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/957 When using omp or pi agent with strata, the results are not that great but when using the same prompt in Strata web chat, I get very good results. I uploaded the results pictures. It's not just for this test. I tested a few other prompts such as create a single html file classic snake game. I started omp with the following command. omp --no-skills --no-extensions --no-rules OMP is set to Auto reasoning. I use Qwen3.8 Flash Next, 128k context size with unsloth IQ4_XS model I'm using High thinking default and enabled "Use for other apps too omp and other API clients get these settings for anything they don't set themselves" Please use test Prompt Create a single HTML file with an interactive cloth simulator. The cloth should hang naturally, move with realistic weight, and let me click, drag, pull, and whip it around the screen with my mouse. Create high mesh for cloth. Only provide a fully working code. Test your code once you are finished, go back over all of your code, test the logic mentally, make sure everything works correctly, and fix anything that may be broken or incomplete before giving the final answer. RESULT from OMP <img width="1720" height="832" alt="Image" src="https://github.com/user-attachments/assets/e7610957-a0a1-4255-9caa-1da2b738dcbf" /> RESULT from Strata web chat <img width="1889" height="851" alt="Image" src="https://github.com/user-attachments/assets/d08e32ae-f3b7-49fa-b227-0acb6fa8a1d6" />
Author
Owner

@dandandelion commented on GitHub (Oct 5, 2026):

OMP (or any other harness really) prepends VERY long system prompts on top of your intial prompt which will confuse the model (and pollute your prompt) and affect the output. If you wanna recreate those, do not prepend system prompts to your prompts and stick to basic chat UIs with no tools nor system prompts. Here, I recreated your output thru my own very lightweight chat ui with zero-system prompt using the coder model

https://github.com/user-attachments/assets/59b07f19-621b-4499-b79b-bc9c2b34ed14

<!-- gh-comment-id:5999097959 --> @dandandelion commented on GitHub (Oct 5, 2026): OMP (or any other harness really) prepends VERY long system prompts on top of your intial prompt which will confuse the model (and pollute your prompt) and affect the output. If you wanna recreate those, do not prepend system prompts to your prompts and stick to basic chat UIs with no tools nor system prompts. Here, I recreated your output thru my own very lightweight chat ui with zero-system prompt using the coder model https://github.com/user-attachments/assets/59b07f19-621b-4499-b79b-bc9c2b34ed14
Author
Owner

@talisp commented on GitHub (Oct 5, 2026):

Your comparison already isolates it: the same model and server give good results in Strata's web chat and worse ones through omp/pi, so the difference is in what the agent sends, not in the engine.

The usual differences are:

  • The agent's long system prompt and tool definitions. @dandandelion's point.
  • Sampling the agent sets itself. "Use for other apps too" only fills the fields a client does not send; if omp sends its own temperature / top_p / max_tokens, those win.
  • The reasoning setting. omp's "Auto" may map to a different effort than the chat's "High".

To see exactly what omp sends, turn on Strata's request monitor: add "api_monitor": true to strata-<model>.json, restart, and open http://127.0.0.1:<port>/api-monitor. It shows each request's original body (system prompt, sampling fields, reasoning effort) next to the output. It keeps prompts in memory, so turn it off afterwards.

Reminders for the web chat and the monitor:

  • Address: http://127.0.0.1:<port>/ (8080 by default; the server prints it when ready).
  • API key: if you set one, add it under About > Settings in the page (the same api_key as in strata-<model>.json).
<!-- gh-comment-id:6001763477 --> @talisp commented on GitHub (Oct 5, 2026): Your comparison already isolates it: the same model and server give good results in **Strata's web chat** and worse ones through omp/pi, so the difference is in what the agent sends, not in the engine. The usual differences are: - **The agent's long system prompt and tool definitions.** @dandandelion's point. - **Sampling the agent sets itself.** "Use for other apps too" only fills the fields a client does **not** send; if omp sends its own temperature / top_p / max_tokens, those win. - **The reasoning setting.** omp's "Auto" may map to a different effort than the chat's "High". To see exactly what omp sends, turn on Strata's request monitor: add `"api_monitor": true` to `strata-<model>.json`, restart, and open `http://127.0.0.1:<port>/api-monitor`. It shows each request's original body (system prompt, sampling fields, reasoning effort) next to the output. It keeps prompts in memory, so turn it off afterwards. Reminders for the web chat and the monitor: - **Address:** `http://127.0.0.1:<port>/` (8080 by default; the server prints it when ready). - **API key:** if you set one, add it under **About > Settings** in the page (the same `api_key` as in `strata-<model>.json`).
Author
Owner

@Niko1221 commented on GitHub (Oct 7, 2026):

The difference between the agent harness and the web chat is usually the system prompt and the sampling. To compare: log the request the harness sends (the server prints it with tracing on), check the temperature, top_p and reasoning effort it sets, and send the same request by curl. Closing as a harness question; reopen with both requests if the outputs still differ.

<!-- gh-comment-id:6037909249 --> @Niko1221 commented on GitHub (Oct 7, 2026): The difference between the agent harness and the web chat is usually the system prompt and the sampling. To compare: log the request the harness sends (the server prints it with tracing on), check the temperature, top_p and reasoning effort it sets, and send the same request by curl. Closing as a harness question; reopen with both requests if the outputs still differ.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#416
No description provided.