Compare commits

...

3 Commits

Author SHA1 Message Date
shokollm
a5e41ab449 Add missing Pydantic schemas for BotConversation and Signal
Based on IMPLEMENTATION_PLAN.md Section 4 schema, the existing schemas.py
was missing schemas for:
- BotConversationCreate/Response (for bot_conversations table)
- SignalResponse (for signals table)

These were identified as gaps during issue #3 review.
2026-04-08 04:41:31 +00:00
6977203748 Merge pull request '[Backend] Project Setup - FastAPI Structure and Dependencies' (#13) from fix/issue-2 into main 2026-04-08 06:35:53 +02:00
shokollm
7dfd79dea2 fix: remove pycache and .env from git tracking
These files are listed in .gitignore but were accidentally committed.
Removing them from git while keeping them locally.
2026-04-08 03:54:26 +00:00
15 changed files with 32 additions and 11 deletions

View File

@@ -1,11 +0,0 @@
DATABASE_URL=sqlite:///./data/app.db
SECRET_KEY=your-super-secret-key-change-in-production
JWT_ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=1440
MINIMAX_API_KEY=your-minimax-api-key
MINIMAX_MODEL=MiniMax-Text-01
AVE_API_KEY=your-ave-cloud-api-key
AVE_API_PLAN=free
HOST=0.0.0.0
PORT=8000
DEBUG=false

View File

@@ -91,3 +91,35 @@ class SimulationResponse(BaseModel):
class Config:
from_attributes = True
class BotConversationCreate(BaseModel):
role: str
content: str
class BotConversationResponse(BaseModel):
id: str
bot_id: str
role: str
content: str
created_at: datetime
class Config:
from_attributes = True
class SignalResponse(BaseModel):
id: str
bot_id: str
run_id: str
signal_type: str
token: str
price: float
confidence: Optional[float]
reasoning: Optional[str]
executed: bool
created_at: datetime
class Config:
from_attributes = True