Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to chat with agent in dev mode #780

Closed
tybalex opened this issue Dec 5, 2024 · 3 comments
Closed

Failed to chat with agent in dev mode #780

tybalex opened this issue Dec 5, 2024 · 3 comments
Labels

Comments

@tybalex
Copy link
Contributor

tybalex commented Dec 5, 2024

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/[email protected]/pkg/engine

So maybe this is a weird bug on my MacOS?

@tybalex
Copy link
Contributor Author

tybalex commented Dec 5, 2024

I am going to develop with a workaround. So this is a low priority issue right now. But maybe we can come back to it in the future.

@cjellick
Copy link
Contributor

cjellick commented Dec 13, 2024

As far as i can tell, no one else can reproduce this. If it slows development down, I suggest you dig in further to figure it out. Going to move this issue to low priority, but feel free to address for yourself if it slows you down.

@cjellick cjellick added the chore label Dec 16, 2024
@tybalex
Copy link
Contributor Author

tybalex commented Jan 3, 2025

something has been fixed, now it works for me. close issue.

@tybalex tybalex closed this as completed Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants