Skip to content

GCP Backend Migration | /chat Endpoint#22

Merged
Bhagat-Atul merged 1 commit into
benevolentbandwidth:mainfrom
Bhagat-Atul:feat_GCP_Backend_Migration
Jul 10, 2026
Merged

GCP Backend Migration | /chat Endpoint#22
Bhagat-Atul merged 1 commit into
benevolentbandwidth:mainfrom
Bhagat-Atul:feat_GCP_Backend_Migration

Conversation

@Bhagat-Atul

Copy link
Copy Markdown
Collaborator

We split the AI proxy contract into two explicit endpoints:

  - POST /analyze is now analysis-only for OCR/ingredient text.
  - POST /chat is now the dedicated result-chat endpoint.

  High-level changes:

  - Added /chat with its own backend-owned chat prompt.
  - Android result chat now calls /chat directly.
  - Backend docs/tests were updated for the new contract.
  - Public endpoint abuse controls are still deferred and documented as a TODO before broad production launch.

  Before testing the latest Android chat flow, the Cloud Run backend needs to be redeployed from the updated backend code. Current deployed
  backend may not have /chat, so chat will fail until GCP is updated.

@Bhagat-Atul Bhagat-Atul merged commit df10fd1 into benevolentbandwidth:main Jul 10, 2026
1 check failed
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