forked from elizaOS/eliza
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from okcashpro/develop
chore: Develop upgrades 1.6
- Loading branch information
Showing
627 changed files
with
76,744 additions
and
48,447 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: integration-test | ||
on: | ||
push: | ||
branches: | ||
- "*" | ||
pull_request_target: | ||
branches: | ||
- "*" | ||
jobs: | ||
smoke-tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: pnpm/action-setup@v3 | ||
with: | ||
version: 9.4.0 | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: "23" | ||
cache: "pnpm" | ||
|
||
- name: Run smoke tests | ||
run: pnpm run smokeTests | ||
integration-tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: pnpm/action-setup@v3 | ||
with: | ||
version: 9.4.0 | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: "23" | ||
cache: "pnpm" | ||
|
||
- name: Install dependencies | ||
run: pnpm install -r | ||
|
||
- name: Build packages | ||
run: pnpm build | ||
|
||
- name: Run integration tests | ||
env: | ||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | ||
run: | | ||
if [ -z "$OPENAI_API_KEY" ]; then | ||
echo "Skipping integration tests due to missing required API keys" | ||
exit 1 | ||
else | ||
pnpm run integrationTests | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,3 @@ tasks: | |
nvm install v23.3.0 | ||
git checkout $(git describe --tags --abbrev=0) | ||
command: pnpm install && pnpm run build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
node-linker=hoisted | ||
frozen-lockfile=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,4 +44,4 @@ | |
"[shellscript]": { | ||
"editor.defaultFormatter": "foxundermoon.shell-format" | ||
} | ||
} | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,189 @@ | ||
<div align="rtl" dir="rtl"> | ||
|
||
# אלייזה 🤖 | ||
|
||
<div align="center"> | ||
<img src="./docs/static/img/okai_banner.jpg" alt="אלייזה באנר" width="100%" /> | ||
</div> | ||
|
||
<div align="center"> | ||
|
||
📖 [תיעוד](https://okcashpro.github.io/okai/) | 🎯 [דוגמאות](https://github.com/okcashpro/awesome-okai) | ||
</div> | ||
|
||
|
||
<div align="center"> | ||
|
||
[中文说明](https://github.com/okcashpro/okai/blob/main/README_CN.md) | [日本語の説明](https://github.com/okcashpro/okai/blob/main/README_JA.md) | [한국어 설명](https://github.com/okcashpro/okai/blob/main/README_KOR.md) | [Français](https://github.com/okcashpro/okai/blob/main/README_FR.md) | [Português](https://github.com/okcashpro/okai/blob/main/README_PTBR.md) | [Türkçe](TR.md) | [Русский](https://github.com/okcashpro/okai/blob/main/README_RU.md) | [Español](https://github.com/okcashpro/okai/blob/main/README_ES.md) | [Italiano](https://github.com/okcashpro/okai/blob/main/README_IT.md) | [ไทย](https://github.com/okcashpro/okai/blob/main/README_TH.md) | [Deutsch](https://github.com/okcashpro/okai/blob/main/README_DE.md) | [עִברִית](https://github.com/okcashpro/okai/blob/main/README_HE.md) | ||
|
||
</div> | ||
|
||
<div dir="rtl" align="right"> | ||
|
||
## ✨ תכונות | ||
|
||
- 🛠️ מחברים מלאים לדיסקורד, טוויטר וטלגרם | ||
- 🔗 תמיכה בכל מודל (Llama, Grok, OpenAI, Anthropic, וכו') | ||
- 👥 תמיכה בריבוי סוכנים וחדרים | ||
- 📚 קל לשלב ולהשתמש במסמכים שלך | ||
- 💾 זיכרון ומאגר מסמכים הניתנים לשליפה | ||
- 🚀 ניתן להרחבה רבה - יצירת פעולות ולקוחות משלך | ||
- ☁️ תומך בהרבה מודלים (local Llama, OpenAI, Anthropic, Groq , | ||
וכו') | ||
- 📦 פשוט עובד! | ||
|
||
</div> | ||
|
||
## 🎯 מקרי שימוש | ||
|
||
<div align="right"> | ||
- 🤖 צ'טבוטים | ||
</div> | ||
<div align="right"> | ||
- 🕵️ סוכנים אוטונומיים | ||
</div> | ||
<div align="right"> | ||
- 📈 טיפול בתהליכים עסקיים | ||
</div> | ||
<div align="right"> | ||
- 🎮 במשחקי וידאו (NPCs) | ||
</div> | ||
<div align="right"> | ||
- 🧠 מסחר | ||
</div> | ||
|
||
## 🚀 התחלה מהירה | ||
|
||
<div align="right"> | ||
|
||
### דרישות מוקדמות | ||
|
||
[Python 2.7+](https://www.python.org/downloads/) - | ||
|
||
[Node.js 23+](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) - | ||
|
||
[pnpm](https://pnpm.io/installation) - | ||
|
||
> **הערה למשתמשי Windows:** נדרש [WSL 2](https://learn.microsoft.com/en-us/windows/wsl/install-manual) | ||
</div> | ||
|
||
### שימוש ב-Starter (מומלץ) | ||
|
||
<div align="right" dir="ltr"> | ||
|
||
``` | ||
git clone https://github.com/okcashpro/okai-starter.git | ||
cp .env.example .env | ||
pnpm i && pnpm start | ||
``` | ||
|
||
</div> | ||
|
||
|
||
לאחר מכן קרא את [התיעוד](https://okcashpro.github.io/okai/) כדי ללמוד כיצד להתאים את אלייזה. | ||
|
||
### התחלה ידנית של אלייזה (מומלץ רק למי שיודע מה הוא עושה) | ||
<div align="right"> | ||
|
||
``` | ||
# שכפול המאגר | ||
git clone https://github.com/okcashpro/okai.git | ||
# מעבר לגרסה האחרונה | ||
git checkout $(git describe --tags --abbrev=0) | ||
``` | ||
</div> | ||
|
||
### התחלת אלייזה עם Gitpod | ||
|
||
<div align="right"> | ||
|
||
[![פתח ב-Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/okcashpro/okai/tree/main) | ||
|
||
</div> | ||
|
||
### עריכת קובץ .env | ||
|
||
<div align="right"> | ||
|
||
העתק את .env.example ל-.env ומלא את הערכים המתאימים. | ||
|
||
``` | ||
cp .env.example .env | ||
``` | ||
|
||
</div> | ||
|
||
הערה: .env הוא אופציונלי. אם אתם מתכננים להפעיל מספר סוכנים נפרדים, ניתן להעביר סודות דרך JSON הדמות. | ||
|
||
### התחלה אוטומטית של אלייזה | ||
|
||
פעולה זו תפעיל הכל כדי להגדיר את הפרויקט ולהתחיל את הבוט עם הדמות המובנית. | ||
|
||
<div align="right"> | ||
|
||
```bash | ||
sh scripts/start.sh | ||
``` | ||
|
||
</div> | ||
|
||
### עריכת קובץ הדמות | ||
|
||
1. פתח את `agent/src/character.ts` כדי לשנות את דמות ברירת המחדל. בטל הערה וערוך. | ||
|
||
2. לטעינת דמויות מותאמות אישית: | ||
- השתמש ב-`pnpm start --characters="path/to/your/character.json"` | ||
- ניתן לטעון מספר קבצי דמויות בו זמנית. | ||
|
||
3. התחבר עם X (טוויטר): | ||
- שנה `"clients": []` ל-`"clients": ["twitter"]` בקובץ הדמות כדי להתחבר ל-X. | ||
|
||
### התחלה ידנית של אלייזה | ||
<div align="right"> | ||
|
||
```bash | ||
pnpm i | ||
pnpm build | ||
pnpm start | ||
|
||
# לעיתים צריך לנקות את הפרויקט אם חוזרים אליו לאחר זמן | ||
pnpm clean | ||
``` | ||
</div> | ||
|
||
#### דרישות נוספות | ||
|
||
ייתכן שתצטרך להתקין את Sharp. אם אתה רואה שגיאה בעת ההפעלה, נסה להתקין עם הפקודה הבאה: | ||
|
||
``` | ||
pnpm install --include=optional sharp | ||
``` | ||
|
||
### קהילה ויצירת קשר | ||
|
||
<div align="right"> | ||
|
||
[GitHub Issues](https://github.com/okcashpro/okai/issues) מתאים ביותר עבור: באגים ופרופוזיציות לתכונות - | ||
|
||
[Discord](https://discord.gg/okcashpro) מתאים ביותר עבור: שיתוף היישומים שלך והשתתפות בקהילה - | ||
</div> | ||
|
||
## תורמים | ||
|
||
<!-- <div align="right"> --> | ||
|
||
<a href="https://github.com/okcashpro/okai/graphs/contributors"> | ||
<img src="https://contrib.rocks/image?repo=okcashpro/okai" /> | ||
</a> | ||
|
||
<!-- </div> --> | ||
|
||
## היסטוריית כוכבים | ||
|
||
[![תרשים היסטוריית כוכבים](https://api.star-history.com/svg?repos=okcashpro/okai&type=Date)](https://star-history.com/#okcashpro/okai&Date) | ||
|
||
</div> |
Oops, something went wrong.