muellerberndt / mini-agi

MiniAGI is a simple general-purpose autonomous agent based on the OpenAI API.
MIT License
2.81k stars 292 forks source link

Critic becomes agent #57

Closed Happ1ness-dev closed 1 year ago

Happ1ness-dev commented 1 year ago

Hi. There were situations, where critic became agent, for some reason. It's trying to speak like agent, and apologizes if something goes wrong. Basically it does anything but criticism.

muellerberndt commented 1 year ago

Do you have some example output?

Happ1ness-dev commented 1 year ago

Do you have some example output?

Right now, no, but when it'll happen again, I'll share it.

Happ1ness-dev commented 1 year ago

It happened again. The goal was to write a song in Russian, that would rhyme.

(Works fine for now) Screenshot_2023-05-19-10-14-38-327_com termux

(Breaks completely) Screenshot_2023-05-19-10-14-42-270_com termux

My guess is that user input is throwing the critic off, and it's trying to reply to user. I've tried to modify the critic prompt multiple times, but it still was prone to breaking on user input.

muellerberndt commented 1 year ago

The latest commit (as of today) no longer calls the critic on user input. I tested with a German poem & didn't experience the bug. Can you confirm?

Happ1ness-dev commented 1 year ago

The latest commit (as of today) no longer calls the critic on user input. I tested with a German poem & didn't experience the bug. Can you confirm?

Unfortunately, I can't check it right now. I ran out of quota :(

Happ1ness-dev commented 1 year ago

Hello again. It seems it has been fixed. I'll update this issue if it happens again.

By the way, have you considered making a discord server?

muellerberndt commented 1 year ago

I don’t think the project is popular enough to warrant a Discord server… also I wouldn’t have time to maintain it 😅

Happ1ness-dev commented 1 year ago

I don’t think the project is popular enough to warrant a Discord server… also I wouldn’t have time to maintain it 😅

Oh, ok then. I guess I'll close the issue now, since it seems to be resolved.