Skip to content

[Auto] session_failure: ConversationManager must be initialized with a system prompt before adding messa #519

Description

@igorcosta

Auto-Reported Error

Field Value
Error Type session_failure
CLI Version 0.8.2
Model stub-model
Provider openrouter
Platform linux 6.18.45-rFBSe5634bc642b3bf
Session ID N/A
Report ID IlFO088dPpbcXkh5FGYPI

Error Message

ConversationManager must be initialized with a system prompt before adding messages.

Stack Trace

Error: ConversationManager must be initialized with a system prompt before adding messages.
    at ConversationManager.addMessage (/tmp/refwork/src/core/conversationManager.ts:38:13)
    at AutohandAgent.runInstruction (/tmp/refwork/src/core/agent.ts:2127:25)
    at /tmp/refwork/tests/zz-hookproto.scratch.spec.ts:151:5
    at runTest (file:///tmp/refwork/node_modules/@vitest/runner/dist/index.js:781:11)
    at runSuite (file:///tmp/refwork/node_modules/@vitest/runner/dist/index.js:909:15)
    at runSuite (file:///tmp/refwork/node_modules/@vitest/runner/dist/index.js:909:15)
    at runFiles (file:///tmp/refwork/node_modules/@vitest/runner/dist/index.js:958:5)
    at startTests (file:///tmp/refwork/node_modules/@vitest/runner/dist/index.js:967:3)
    at file:///tmp/refwork/node_modules/vitest/dist/chunks/runtime-runBaseTests.oAvMKtQC.js:116:7
    at withEnv (file:///tmp/refwork/node_modules/vitest/dist/chunks/runtime-runBaseTests.oAvMKtQC.js:83:5)

Session Context

  • Conversation length: 0 messages
  • Context usage: 0%
  • Last tools used: N/A
  • Retry attempt: 1 / 3

Additional Context

{
  "retryAttempt": 1,
  "maxRetries": 3
}

Auto-reported by Autohand CLI v0.8.2 | Report ID: IlFO088dPpbcXkh5FGYPI

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions