forked from fixes-world/elizaOnFlow
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'onflow:main' into nbatopshot
- Loading branch information
Showing
107 changed files
with
17,290 additions
and
58,876 deletions.
There are no files selected for viewing
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,41 @@ | ||
name: Pnpm Lockfile Check | ||
|
||
on: | ||
pull_request: | ||
branches: [develop] | ||
|
||
jobs: | ||
check-lockfile: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 23.3.0 | ||
|
||
- uses: pnpm/action-setup@v3 | ||
with: | ||
version: 9.15.0 | ||
|
||
- name: Check if lockfile is up-to-date | ||
id: lockfile-check | ||
run: | | ||
# Try to install with frozen lockfile | ||
if ! pnpm install --frozen-lockfile; then | ||
echo "::error::Lockfile is out of date. Please run 'pnpm install --no-frozen-lockfile' and commit the updated pnpm-lock.yaml" | ||
echo "failed=true" >> $GITHUB_OUTPUT | ||
exit 1 | ||
fi | ||
- name: Comment on PR | ||
if: failure() && steps.lockfile-check.outputs.failed == 'true' | ||
uses: actions/github-script@v7 | ||
with: | ||
script: | | ||
github.rest.issues.createComment({ | ||
issue_number: context.issue.number, | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
body: '❌ The pnpm-lockfile is out of date. Please run `pnpm install --no-frozen-lockfile` and commit the updated pnpm-lock.yaml file.' | ||
}) |
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,3 +1,12 @@ | ||
[submodule "deps/eliza"] | ||
path = deps/eliza | ||
url = https://github.com/btspoony/eliza.git | ||
url = https://github.com/elizaOS/eliza.git | ||
[submodule "packages/plugin-flow"] | ||
path = packages/plugin-flow | ||
url=https://github.com/fixes-world/plugin-flow.git | ||
[submodule "packages/plugin-di"] | ||
path = packages/plugin-di | ||
url = https://github.com/fixes-world/plugin-di.git | ||
[submodule "packages/plugin-flow-advanced"] | ||
path = packages/plugin-flow-advanced | ||
url = https://github.com/fixes-world/plugin-flow-advanced.git |
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 |
---|---|---|
@@ -1,19 +1,19 @@ | ||
import { | ||
type Character, | ||
ModelProviderName, | ||
defaultCharacter as DefaultElizaCharacter, | ||
} from "@elizaos/core"; | ||
import { basicFlowPlugin } from "@fixes-ai/common"; | ||
|
||
const localDefaultCharacter: Character = { | ||
modelProvider: ModelProviderName.DEEPSEEK, | ||
plugins: [basicFlowPlugin], | ||
} as Character; | ||
import diPlugin from "@elizaos-plugins/plugin-di"; | ||
import { advancedFlowPlugin } from "@elizaos-plugins/plugin-flow-advanced"; | ||
import { defaultCharacter as elizaDefaultCharacter } from "./defaultCharacter"; | ||
|
||
export const defaultCharacter: Character = Object.assign( | ||
{}, | ||
DefaultElizaCharacter, | ||
localDefaultCharacter | ||
elizaDefaultCharacter, | ||
{ | ||
modelProvider: ModelProviderName.DEEPSEEK, | ||
plugins: [advancedFlowPlugin], | ||
postProcessors: [diPlugin], | ||
} | ||
); | ||
|
||
export default defaultCharacter; |
Oops, something went wrong.