Skip to content

Failed to chat with agent in dev mode #780

@tybalex

Description

@tybalex

Environment:
Apple M2 Max, MacOs 15.1.1
node version = v20.18.1
go version = go version go1.23.2 darwin/arm64

**Steps to reproduce the problem: **

  1. git clone the project, set OPENAI_API_KEY, and then:
make all
make dev
  1. go to localhost:8080 and start to chat with an agent, go the following error:
Screenshot 2024-12-05 at 8 26 18 PM and the error logs: Screenshot 2024-12-05 at 8 26 30 PM

Expected Behavior:
the chat should work.

@thedadams mentioned that there should another log launch OpenAI after this log line:

[server] time="2024-12-05T20:30:58+08:00" level=info msg="launched [Otto8][/Users/tybalex/workspace/otto8-tools/otto8-model-provider/tool.gpt:Otto8] port [10729] [/var/folders/jx/gld2clwj7sd_q8hd2m6hztcr0000gn/T/go-build3575552925/b001/exe/main sys.daemon /usr/bin/env python3 /Users/tybalex/workspace/otto8-tools/otto8-model-provider/main.py]" logger=-ai/gptscript@v0.9.6-0.20241204172147-c39a0693ee94/pkg/engine

So maybe this is a weird bug on my MacOS?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions