Skip to content

Conversation

zhaotai
Copy link
Contributor

@zhaotai zhaotai commented Sep 18, 2025

No description provided.

@zhaotai zhaotai requested a review from adrianlyjak September 18, 2025 21:43
LLAMA_CLOUD_PROJECT_ID,
)

load_dotenv()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's this for? Doesn't really hurt, but this is automatically handled by llama deploy

[tool.llamadeploy]
env-files = [".env"]

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OPENAI_API_KEY somehow not able to be passed. That's why I add it back

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Seems found the root cause? Now we only read env_files, but config here is env-files

return {
file_id: files[0].fileId,
index_name: fieldValues.index_name,
index_name: INDEX_NAME,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this just entirely be managed on the server? I don't see a reason it needs to be parameterized

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just want to be as less change as possible to ship...

@adrianlyjak adrianlyjak merged commit 9e7bfbb into main Sep 18, 2025
3 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.

2 participants