Skip to content

Commit

Permalink
Merge branch 'nico/update_to_pb_batch' of github.com:dcSpark/shinkai-…
Browse files Browse the repository at this point in the history
…node into nico/update_to_pb_batch
  • Loading branch information
nicarq committed Jan 16, 2024
2 parents f892df2 + 897cb32 commit 3f2e59c
Show file tree
Hide file tree
Showing 51 changed files with 2,291 additions and 2,001 deletions.
124 changes: 102 additions & 22 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ chashmap = "2.2.2"
async-channel = "1.6.1"
lazy_static = "1.4.0"
clap = "3.0.0-beta.5"
env_logger = "0.10"
anyhow = "1.0"
regex = "1"
csv = "1.1.6"
Expand Down
28 changes: 28 additions & 0 deletions scripts/run_identity_9552.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#!/bin/bash

export NODE_IP="0.0.0.0"
export NODE_PORT="9552"
export NODE_WS_PORT="9551"
export NODE_API_IP="0.0.0.0"
export NODE_API_PORT="9550"
export IDENTITY_SECRET_KEY="fd1ca428ec1be6ae8b0b3d23ea507eba8cf7da0869578753b9781efda2b6a8ab"
export ENCRYPTION_SECRET_KEY="e06a1c02d638d4552d733dca8ff8f023841d1126965050b2048f1140bfd82a5c"
export PING_INTERVAL_SECS="0"
export GLOBAL_IDENTITY_NAME="@@_my_9552.shinkai"
export RUST_LOG=debug,error,info
export STARTING_NUM_QR_PROFILES="1"
export STARTING_NUM_QR_DEVICES="1"
export FIRST_DEVICE_NEEDS_REGISTRATION_CODE="false"
export LOG_SIMPLE="true"
export NO_SECRET_FILE="true"
export EMBEDDINGS_SERVER_URL="https://internal.shinkai.com/x-embed-api/"
export UNSTRUCTURED_SERVER_URL="https://internal.shinkai.com"

export INITIAL_AGENT_NAMES="my_gpt,my_gpt_vision"
export INITIAL_AGENT_URLS="https://api.openai.com,https://api.openai.com"
export INITIAL_AGENT_MODELS="openai:gpt-4-1106-preview,openai:gpt-4-vision-preview"

# Add these lines to enable all log options
export LOG_ALL=1

cargo run
28 changes: 28 additions & 0 deletions scripts/run_identity_9652.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#!/bin/bash

export NODE_IP="0.0.0.0"
export NODE_PORT="9652"
export NODE_WS_PORT="9651"
export NODE_API_IP="0.0.0.0"
export NODE_API_PORT="9650"
export IDENTITY_SECRET_KEY="bf0be9c2da2d5f9371bb61f5b2b9f4a6bb294f064e187056005a8bda8dc2ef00"
export ENCRYPTION_SECRET_KEY="806bbcca2ab460aaa57ed00aa2fdf88b1d039b5ca2d89306d4ebd77b14e52c77"
export PING_INTERVAL_SECS="0"
export GLOBAL_IDENTITY_NAME="@@_my_9652.shinkai"
export RUST_LOG=debug,error,info
export STARTING_NUM_QR_PROFILES="1"
export STARTING_NUM_QR_DEVICES="1"
export FIRST_DEVICE_NEEDS_REGISTRATION_CODE="false"
export LOG_SIMPLE="true"
export NO_SECRET_FILE="true"
export EMBEDDINGS_SERVER_URL="https://internal.shinkai.com/x-embed-api/"
export UNSTRUCTURED_SERVER_URL="https://internal.shinkai.com/"

export INITIAL_AGENT_NAMES="my_gpt,my_gpt_vision"
export INITIAL_AGENT_URLS="https://api.openai.com,https://api.openai.com"
export INITIAL_AGENT_MODELS="openai:gpt-4-1106-preview,openai:gpt-4-vision-preview"

# Add these lines to enable all log options
export LOG_ALL=1

cargo run
Loading

0 comments on commit 3f2e59c

Please sign in to comment.