openwork icon indicating copy to clipboard operation
openwork copied to clipboard

Bot responds to admin messages but fails on user input with "No response generated"

Open jaywulove opened this issue 9 months ago • 2 comments

Image Image When I send a message to the Telegram bot, it replies with: “No response generated. Try again.” However, when I send a message from the bot’s backend to myself, it works perfectly. What could be causing this issue, and how can I fix it?

jaywulove avatar Feb 21 '26 15:02 jaywulove

could you go in the debug screen and do a fully dump of the data here?

you'll need to enable dev mdoe: Image then go to the debug page:

Image

then just copy things like this here:

Experiments
Local

Agent Mint
Local

Telegram message request conversation
<date>

<project>
Local

Inbox digest for <email>: 24h unread emails summary
<date>

Enterprise
Remote

<internal_doc_title>
<relative_time>
<internal_doc_title>
<relative_time>
<internal_doc_title>
<relative_time>
Show <n> more

Prod
Sandbox

<router_name> <numeric_id>
<relative_time>

Add a worker
Enterprise
Settings
Connected · OpenWork v<desktop_version> · Live
General
Model
Advanced
Debug
Up to date
Check
DEVELOPER

OpenCode cache
Repairs cached data used to start the engine. Safe to run.
Repair cache

OpenWork Docker containers
Force-remove Docker containers launched by OpenWork (sandbox + local dev stacks).
Delete containers

Startup
Connect to server
Switch

Reset startup preference
This clears your saved preference and shows the connection choice on next launch.

Engine
Choose how OpenCode runs locally.
Startup preference is currently remote. Engine settings are saved now and apply the next time you run locally.

Engine source
Bundled (recommended)
System install (PATH)
Custom binary

Bundled engine is the most reliable option. Use System install only if you manage OpenCode yourself.

Engine runtime
Direct (OpenCode)
OpenWork Orchestrator

Applies the next time the engine starts or reloads.

Reset & Recovery
Clear data or restart the setup flow.
Reset onboarding
Clears OpenWork preferences and restarts the app.
Reset

Reset app data
More aggressive. Clears OpenWork cache + app data.
Reset
Requires typing RESET and will restart the app.

Devtools
Sidecar health, capabilities, and audit trail.

Versions
Sidecar + desktop build info.
Desktop app: v<desktop_version>
Commit: <commit_hash>
Orchestrator: <orchestrator_version>
OpenCode: <opencode_source> · <opencode_version>
OpenWork server: <server_version>
OpenCodeRouter: <router_version>

OpenCode engine
Local execution sidecar.
Running
http://127.0.0.1:<port>
/Users/<user>/Library/Application Support/<app>/workspaces/<workspace>
PID: <pid>

Last stdout
[openwork-orchestrator] Daemon starting
[opencode] Process spawned
[opencode] Waiting for health
[opencode] opencode server listening on http://0.0.0.0:<port>
[opencode] Healthy
orchestrator daemon running on 127.0.0.1:<port>
[openwork-orchestrator-router] Router request
[opencode] [skill-reinforcement-plugin] Initialized
[opencode] Testing parseUpdateSkills:
[opencode] --- Test 1 ---
[opencode] Input: Some text before
[opencode] <update-skills>
[opencode] - learned: Vercel...
[opencode] Result: {
[opencode]   learned: "Vercel logs require --scope <redacted> flag",
[opencode]   skill: "debug-prod-issues",
[opencode]   improvement: "Add note about scope flag",
[opencode] }
[opencode] --- Test 2 ---
[opencode] Input: <update-skills>
[opencode] - learned: Something important
[opencode] - i...
[opencode] Result: {
[opencode]   learned: "Something important",
[opencode]   skill: undefined,
[opencode]   improvement: "Add this to docs",
[opencode] }
[opencode] --- Test 3 ---
[opencode] Input: Just regular text without the pattern...
[opencode] Result: null
[opencode] --- Test 4 ---
[opencode] Input: <update-skills>
[opencode] This is a learning
[opencode] And this is an ...
[opencode] Result: {
[opencode]   learned: "This is a learning",
[opencode]   skill: undefined,
[opencode]   improvement: "And this is an improvement",
[opencode] }
[opencode] ✅ Parser tests complete!
[openwork-orchestrator-router] Router request
[openwork-orchestrator-router] Router request
... (many repeats)

Last stderr
No stderr captured yet.

Orchestrator daemon
Workspace orchestration layer.
Running
/Users/<user>/.openwork/openwork-orchestrator
Daemon: http://127.0.0.1:<port>
OpenCode: http://0.0.0.0:<port>
Version: <version>
Sidecar: auto · darwin-arm64
Opencode binary: <source> · <version>
Active workspace: <id_redacted>

OpenCode SDK
UI connection diagnostics.
Connected
http://<lan_ip>:<port>/w/<id_redacted>/opencode
/Users/<user>/<repo>
Last attempt: <relative_time>
Reason: <reason_redacted>
Healthy: <ms>
Load sessions: <ms>
Pending permissions: <ms>
Providers: <ms>
Total: <ms>

OpenWork server
Config and approvals sidecar.
Connected
http://127.0.0.1:<port>
PID: <pid>

Last stdout
GET /workspace/<id_redacted>/inbox 200 <ms>
GET /workspace/<id_redacted>/mcp 200 <ms>
GET /workspace/<id_redacted>/config 200 <ms>
GET /health 200 <ms>
GET /capabilities 200 <ms>
... (many repeats)
GET /workspace/<id_redacted>/mcp 404 <ms>
GET /workspace/<id_redacted>/inbox 404 <ms>
GET /workspace/<id_redacted>/config 404 <ms>
GET /workspace/<id_redacted>/soul/status 404 <ms>
... (more repeats)

Last stderr
No stderr captured yet.

OpenCodeRouter sidecar
Messaging bridge service.
Running
http://<lan_ip>:<port>
/Users/<user>/Library/Application Support/<app>/workspaces/<workspace>
PID: <pid>

Last stdout
Slack adapters disabled.
Telegram/<id_redacted> adapter starting...
Telegram/<id_redacted> adapter starting...
Telegram/<id_redacted> adapter starting...
Bridge running. Logs: /Users/<user>/.openwork/opencode-router/logs/opencode-router.log

Last stderr
No stderr captured yet.

OpenWork server diagnostics
<server_version>
Started: <date>
Read-only: false
Approval: auto (<ms>)
Workspaces: <n>
Active workspace: <id_redacted>
Config path: /Users/<user>/.config/openwork/server.json
Token source: <redacted>
Host token source: <redacted>

OpenWork server capabilities
Worker <id_redacted>
Skills: read / write · openwork
Plugins: read / write
MCP: read / write
Commands: read / write
Config: read / write
Proxy (OpenCodeRouter): enabled
Browser tools: disabled
File tools: inbox on · outbox on
Sandbox: none (off)

Pending permissions
[]

Recent events
[
  {
    "type": "message.part.updated",
    "properties": {
      "sessionID": "<id_redacted>",
      "messageID": "<id_redacted>",
      "partID": "<id_redacted>",
      "partType": "reasoning",
      "deltaLength": 0,
      "textLength": null
    }
  },
  {
    "type": "message.part.delta",
    "properties": {
      "sessionID": "<id_redacted>",
      "messageID": "<id_redacted>",
      "partID": "<id_redacted>",
      "field": "text",
      "delta": "<redacted>"
    }
  },
  {
    "type": "session.updated",
    "properties": {
      "info": {
        "id": "<id_redacted>",
        "slug": "<slug_redacted>",
        "projectID": "<id_redacted>",
        "directory": "/Users/<user>/<repo>",
        "title": "<internal_doc_title>",
        "version": "<version>",
        "summary": { "additions": 0, "deletions": 0, "files": 0 },
        "time": { "created": <timestamp>, "updated": <timestamp> }
      }
    }
  }
  ... (rest of events omitted; IDs redacted)
]

Workspace debug events
[]

Audit log
Ready
mcp.add · opencode.json · remote · <date>
mcp.add · opencode.json · remote · <date>
config.patch · opencode.json · remote · <date>
workspace.activate · workspace · host · <date>
... (rest unchanged)

OpenCode
Connected
OpenWork
Ready

Settings
Automations
Soul
Skills
Extensions
Messaging
Advanced```

benjaminshafii avatar Feb 21 '26 20:02 benjaminshafii

Dear Ban, The good news is that I spent a whole day debugging the issue myself through the session with my AI teammate—and I actually fixed it! This really shows the power of AI.

Honestly, I have zero programming background, yet I was able to solve the problem on my own using this tool. The root cause is quite complex, and I don’t fully understand it myself—but it’s working now!

jaywulove avatar Feb 22 '26 20:02 jaywulove