#!/bin/bash

export NODE_IP="0.0.0.0"
export NODE_PORT="9952"
export NODE_API_IP="0.0.0.0"
export NODE_API_PORT="9950"
export NODE_WS_PORT="9951"
export NODE_API_HTTPS_PORT="9953"
export IDENTITY_SECRET_KEY="df3f619804a92fdb4057192dc43dd748ea778adc52bc498ce80524c014b81119"
export ENCRYPTION_SECRET_KEY="d83f619804a92fdb4057192dc43dd748ea778adc52bc498ce80524c014b81159"
export PING_INTERVAL_SECS="0"
export NODE_STORAGE_PATH="storage_debug_proxied_my_local_ai"
export RUST_LOG="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 EMBEDDINGS_SERVER_URL="http://localhost:11434/"
export INITIAL_AGENT_NAMES="my_gpt,llama3_8b"
export INITIAL_AGENT_URLS="https://api.openai.com,http://localhost:11434"
export INITIAL_AGENT_MODELS="openai:gpt-4o,ollama:llama3:8b-instruct-q4_1"
export CONTRACT_ADDRESS="0x425fb20ba3874e887336aaa7f3fab32d08135ba9"
export SUBSCRIPTION_HTTP_UPLOAD_INTERVAL_MINUTES="1"
export SUBSCRIPTION_UPDATE_CACHE_INTERVAL_MINUTES="1"
export LOG_ALL="1"
export DEBUG_VRKAI="1"
# export PROXY_IDENTITY="@@kao_tcp_relayer.sep-shinkai"
export PROXY_IDENTITY="@@relayer_pub_01.sep-shinkai"

cargo run --bin shinkai_node --package shinkai_node