Skip to content

Commit 87dfd0f

Browse files
[FIX] start fixing docker file
[FIX] Fixing Dockerfile
2 parents 028707b + b39792e commit 87dfd0f

4 files changed

Lines changed: 12 additions & 11 deletions

File tree

crypto-pilot-builder/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:18-alpine
1+
FROM node:20-alpine
22

33
WORKDIR /app
44

crypto-pilot-builder/python/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ USER appuser
2020

2121
EXPOSE 5000
2222

23-
CMD ["python", "chatbot.py"]
23+
CMD ["python", "mcp_client/mcp_http_bridge.py"]

crypto-pilot-builder/python/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ mcp>=1.9.2
55
openai>=1.50.0
66
python-dotenv>=1.0.0
77
agno
8+
requests

init.sql

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ CREATE TABLE IF NOT EXISTS users (
77
password_hash VARCHAR(255) NOT NULL,
88
wallet_address VARCHAR(42),
99
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
10-
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
1110
);
1211

1312
CREATE TABLE IF NOT EXISTS chat_sessions (
@@ -26,15 +25,16 @@ CREATE TABLE IF NOT EXISTS chat_messages (
2625
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
2726
);
2827

29-
CREATE TABLE IF NOT EXISTS transactions (
28+
CREATE TABLE IF NOT EXISTS ai_agents (
3029
id UUID PRIMARY KEY DEFAULT uuid_generate_v4(),
3130
user_id UUID REFERENCES users(id) ON DELETE CASCADE,
32-
from_address VARCHAR(42) NOT NULL,
33-
to_address VARCHAR(42) NOT NULL,
34-
amount DECIMAL(20, 8) NOT NULL,
35-
currency VARCHAR(10) NOT NULL,
36-
transaction_hash VARCHAR(66),
37-
status VARCHAR(20) DEFAULT 'pending' CHECK (status IN ('pending', 'confirmed', 'failed')),
31+
agent_name VARCHAR(100) NOT NULL,
32+
agent_description TEXT,
33+
model_type VARCHAR(50) NOT NULL CHECK (model_type IN ('gpt-4', 'gpt-3.5-turbo', 'claude-3', 'claude-4', 'gemini-pro')),
34+
api_key_encrypted TEXT,
35+
prompt TEXT,
36+
is_active BOOLEAN DEFAULT true,
3837
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
39-
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
38+
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
39+
UNIQUE(user_id, agent_name)
4040
);

0 commit comments

Comments
 (0)