Skip to content

Conversation

@Ahmonemb
Copy link
Owner

  • Chat Feature:
    • Added ChatInterface.jsx component.
    • Added /chat endpoint in Flask (app.py) integrating OpenAI GPT-4 Vision.
    • Updated AgreementViewerPage.jsx with 3-column layout including chat.
    • Refactored state management for image filenames in AgreementViewerPage.jsx.
    • Simplified PdfViewer.jsx.
  • API/Proxy Fix:
    • Corrected fetchData in api.js to pass options object to fetch.
    • Ensured fetchData uses relative /api/ paths for Vite proxy.
    • Corrected fetchData usage in ChatInterface.jsx.
  • Config:
    • Added cache patterns to .gitignore.
    • Configured MAX_CONTENT_LENGTH in Flask.
    • Added debug logging to Vite proxy.

canilo1 and others added 7 commits April 20, 2025 00:00
- **Chat Feature:**
    - Added `ChatInterface.jsx` component.
    - Added `/chat` endpoint in Flask (`app.py`) integrating OpenAI GPT-4 Vision.
    - Updated `AgreementViewerPage.jsx` with 3-column layout including chat.
    - Refactored state management for image filenames in `AgreementViewerPage.jsx`.
    - Simplified `PdfViewer.jsx`.
- **API/Proxy Fix:**
    - Corrected `fetchData` in `api.js` to pass `options` object to `fetch`.
    - Ensured `fetchData` uses relative `/api/` paths for Vite proxy.
    - Corrected `fetchData` usage in `ChatInterface.jsx`.
- **Config:**
    - Added cache patterns to `.gitignore`.
    - Configured `MAX_CONTENT_LENGTH` in Flask.
    - Added debug logging to Vite proxy.
@Ahmonemb Ahmonemb merged commit ab12616 into main Apr 21, 2025
0 of 2 checks passed
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.

3 participants