Open
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Some updates using a database and LangChain