Session fixes: auth working, frontend files created, running locally
- Fixed circular imports in API files - Created missing frontend lib files (api.ts, socket.ts, types.ts) - Fixed register endpoint to return token instead of user - Updated Anthropic client version - Backend running locally on port 8000 - Frontend running on port 3000 - Authentication working - Still need: channel response fix, WebSocket auth fix
This commit is contained in:
@@ -62,8 +62,8 @@ async def handle_grimlock_mention(
|
||||
message: Message,
|
||||
channel: Channel,
|
||||
db: Session,
|
||||
context_manager: ContextManager,
|
||||
ai_client: AIClient
|
||||
context_manager: ContextManager = Depends(lambda: main.context_manager),
|
||||
ai_client: AIClient = Depends(lambda: main.ai_client)
|
||||
):
|
||||
"""Handle @grimlock mention - respond with AI"""
|
||||
|
||||
@@ -150,8 +150,8 @@ async def send_message(
|
||||
background_tasks: BackgroundTasks,
|
||||
current_user: User = Depends(get_current_user),
|
||||
db: Session = Depends(get_db),
|
||||
context_manager: ContextManager = Depends(main.get_context_manager),
|
||||
ai_client: AIClient = Depends(main.get_ai_client)
|
||||
context_manager: ContextManager = Depends(lambda: main.context_manager),
|
||||
ai_client: AIClient = Depends(lambda: main.ai_client)
|
||||
):
|
||||
"""Send a message to a channel"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user