mirror of
https://github.com/run-llama/auto_rfp.git
synced 2026-08-27 02:01:17 -04:00
[PR #37] [CLOSED] Add support for LlamaCloud in the EU #39
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/run-llama/auto_rfp/pull/37
Author: @roland-at-ailtir
Created: 12/10/2025
Status: ❌ Closed
Base:
main← Head:roland/feature/base_url📝 Commits (10+)
741017aAdd LLAMACLOUD_API_URL to the README.38db24fConsolidate all env var processing into env.ts.8dfd2caMake API_KEY_INTERNAL optional (again).f071680Log all env vars in/with validateEnv(). Refactor validateEnv() for readability.2491214Refactoring to use the (safe) env map.9879235Remove /Retire getAppUrl().453cfb0Refactor to call validateEnv() only once when the app starts.e98a8c0Remove old commente686b5bReplace hard-coded api-urls with API_URL44d4579Add baseUrl when creating the llama clients.📊 Changes
24 files changed (+192 additions, -127 deletions)
View changed files
📝
README.md(+3 -0)📝
app/api/generate-response-multistep/route.ts(+3 -9)📝
app/api/llamacloud/projects/route.ts(+3 -11)📝
app/api/organizations/route.ts(+3 -7)📝
app/api/projects/[projectId]/indexes/route.ts(+2 -2)📝
app/globals.css(+0 -1)📝
app/login/actions.ts(+3 -2)➕
instrumentation.ts(+18 -0)📝
lib/db.ts(+3 -2)📝
lib/env.ts(+96 -27)📝
lib/interfaces/llamaindex.ts(+0 -0)📝
lib/llamaindex-service.ts(+12 -10)📝
lib/llamaparse-service.ts(+9 -7)📝
lib/services/default-response-service.ts(+1 -1)📝
lib/services/llamacloud-client.ts(+4 -3)📝
lib/services/llamacloud-connection-service.ts(+4 -9)📝
lib/services/llamacloud-documents-service.ts(+4 -14)📝
lib/services/multi-step-response-service.ts(+9 -8)📝
lib/services/openai-question-extractor.ts(+2 -5)📝
lib/services/response-generation-service.ts(+1 -1)...and 4 more files
📄 Description
To support LlamaCloud in the EU we need to make the API_URL configurable.
To that extend I added the LLAMACLOUD_API_URL env var.
While adding this I also made the following changes ...
./lib/env.tsvalidateEnv()is only called oncelogEnv()tovalidateEnv()... and a couple of other small code-hygiene changes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.