Skip to content

Updates#3

Open
ranaalmaaz wants to merge 8 commits intolarawehbe:masterfrom
ranaalmaaz:updates
Open

Updates#3
ranaalmaaz wants to merge 8 commits intolarawehbe:masterfrom
ranaalmaaz:updates

Conversation

@ranaalmaaz
Copy link

Some updates using a database and LangChain

ranaalmaaz55 added 8 commits January 25, 2026 05:56
Update api.py to use Replit AI Integrations for OpenAI API key and base URL, and change the model to "gpt-4o-mini". Modify frontend.py to use "localhost" for the backend API URL and add error handling for connection issues. Update requirements.txt to include 'openai', 'pydantic', 'python-dotenv', and 'requests'. Create replit.md documentation detailing the project setup, architecture, and dependencies. Add run.py script to manage backend and frontend processes for Replit environment.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: c1582ad0-2a4d-421f-abef-a344959f5e0b
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 46394778-ce7b-485f-9526-7aef3b6794af
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/5e51078b-5ac9-4f4e-a1d5-c7167392f72e/c1582ad0-2a4d-421f-abef-a344959f5e0b/qTLLDNh
Replit-Helium-Checkpoint-Created: true
Modify main.py to remove the local uvicorn run command, and introduce a start.sh script to properly launch the FastAPI backend on 0.0.0.0:8000 and the Streamlit frontend on 0.0.0.0:8081.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: c1582ad0-2a4d-421f-abef-a344959f5e0b
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 172a0ba0-d30c-436d-8a65-58905eebfa50
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/5e51078b-5ac9-4f4e-a1d5-c7167392f72e/c1582ad0-2a4d-421f-abef-a344959f5e0b/qTLLDNh
Replit-Helium-Checkpoint-Created: true
…eously

Fixes inconsistent API URL usage in auth.py and updates run.py to launch uvicorn backend on port 8000 and Streamlit frontend on port 5000.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: c1582ad0-2a4d-421f-abef-a344959f5e0b
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 770336d0-cc94-4f16-95dd-a702c8d3be20
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/5e51078b-5ac9-4f4e-a1d5-c7167392f72e/c1582ad0-2a4d-421f-abef-a344959f5e0b/qTLLDNh
Replit-Helium-Checkpoint-Created: true
Refactor auth.py, remove unused frontend.py, and update main.py to address issues with user preference storage, access, and API endpoint redirection.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: c1582ad0-2a4d-421f-abef-a344959f5e0b
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 8ce81780-7bb8-42bd-a905-4e91d1694166
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/5e51078b-5ac9-4f4e-a1d5-c7167392f72e/c1582ad0-2a4d-421f-abef-a344959f5e0b/qTLLDNh
Replit-Helium-Checkpoint-Created: true
Fixes bugs in user preference handling, updates API calls, and refactors database models.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: c1582ad0-2a4d-421f-abef-a344959f5e0b
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: bfe3b6b8-cf3f-45aa-a18f-301e68c30b48
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/5e51078b-5ac9-4f4e-a1d5-c7167392f72e/c1582ad0-2a4d-421f-abef-a344959f5e0b/qTLLDNh
Replit-Helium-Checkpoint-Created: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant