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

Transfer old memorys to new version of agent zero. #124

Open
devnull75 opened this issue Sep 13, 2024 · 2 comments
Open

Transfer old memorys to new version of agent zero. #124

devnull75 opened this issue Sep 13, 2024 · 2 comments

Comments

@devnull75
Copy link

Just installed version 0.6.4 of agent zero to replace 0.5...

How do I transfer old memories to the new version.

cp -rf agent-zero-old/memory/* agent-zero/memory/

does not seem to work...

User message ('e' to leave):

Hello, what is my name?

Agent 0: Generating:
{
"thoughts": [
"The user has greeted me and asked for their name.",
"I don't have any information about the user's name.",
"I will respond with a request for more information."
],
"tool_name": "response",
"tool_args": {
"text": "Hello! Unfortunately, I don't have any information about your name. Can you please tell me?"
}
}

Agent 0: reponse:
Hello! Unfortunately, I don't have any information about your name. Can you please tell me?

@6rz6
Copy link

6rz6 commented Sep 13, 2024

🛠 The whole work dir should be kept intact, not mentioning ability to restrict destruction on the docker container in case there in a continuous task which usually requires a persistent env

@salihselimsekerci
Copy link

Dosya İzinleri ve Sahipliği Kontrolü: Hedef dizin ve kaynak dizindeki dosyaların sahiplik ve izinlerini kontrol edin. Eğer kullanıcı izinleri veya sahiplikleri uyumsuzsa, cp komutu dosyaları kopyalayamayabilir.

sudo chown -R $(whoami) agent-zero/memory
sudo chmod -R u+rwX agent-zero/memory

Hedef Dizin Yapısı: Hedef dizin olan agent-zero/memory/'nin doğru şekilde yapılandırıldığından ve var olduğundan emin olun. Dizin yoksa, kopyalama işlemi başarısız olabilir.

mkdir -p agent-zero/memory

Komutun Doğru Kullanımı: Eğer dosyaları ve alt dizinleri kopyalarken herhangi bir hata mesajı almıyorsanız, komut doğru çalışıyor olabilir ama dosyalar istenen dizine taşınamamış olabilir.
Bu durumda komutu -v (verbose) bayrağı ile çalıştırarak hangi dosyaların kopyalandığını kontrol edebilirsiniz.

cp -rfv agent-zero-old/memory/* agent-zero/memory/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants