[PR #737] [MERGED] parse: fix the "model" parameter mismatch between playground and Python client #835

Closed
opened 2026-02-16 00:19:15 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/llama_cloud_services/pull/737
Author: @abhik1505040
Created: 5/30/2025
Status: Merged
Merged: 6/2/2025
Merged by: @logan-markewich

Base: mainHead: api_playground_mismatch_fix


📝 Commits (1)

  • 822c7d2 Include model parameter in the API

📊 Changes

1 file changed (+7 additions, -0 deletions)

View changed files

📝 llama_cloud_services/parse/base.py (+7 -0)

📄 Description

Adds a model parameter to the Python client, allowing users to select the document model when using parse_with_agent, matching the llamaparse playground functionality.

Evidence:

  • The playground UI allows selecting a document model in parse_with_agent mode (see screenshot 1).
  • The selected model in the playground is set in the model parameter internally (see screenshot 2).
  • The model parameter is not used anywhere in the Python client.

Screenshots:

  • Screenshot 1
  • Screenshot 2

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/llama_cloud_services/pull/737 **Author:** [@abhik1505040](https://github.com/abhik1505040) **Created:** 5/30/2025 **Status:** ✅ Merged **Merged:** 6/2/2025 **Merged by:** [@logan-markewich](https://github.com/logan-markewich) **Base:** `main` ← **Head:** `api_playground_mismatch_fix` --- ### 📝 Commits (1) - [`822c7d2`](https://github.com/run-llama/llama_cloud_services/commit/822c7d2693d9f1f4cda98de98a73e56724ab093c) Include model parameter in the API ### 📊 Changes **1 file changed** (+7 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `llama_cloud_services/parse/base.py` (+7 -0) </details> ### 📄 Description Adds a `model` parameter to the Python client, allowing users to select the document model when using `parse_with_agent`, matching the llamaparse playground functionality. **Evidence**: - The playground UI allows selecting a document model in `parse_with_agent` mode (see screenshot 1). - The selected model in the playground is set in the `model` parameter internally (see screenshot 2). - The `model` parameter is not used anywhere in the Python client. **Screenshots**: - ![Screenshot 1](https://github.com/user-attachments/assets/ad9611f5-de09-4ec4-adfc-a9726f95da6b) - ![Screenshot 2](https://github.com/user-attachments/assets/d2920ac3-7f9c-4cc3-8960-99da1fefe613) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 00:19:15 -05:00
yindo closed this issue 2026-02-16 00:19:15 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/llama_cloud_services#835