Vendor API key are only supported for parse mode parse_page_with_lvm! #456

Closed
opened 2026-02-16 00:17:54 -05:00 by yindo · 5 comments
Owner

Originally created by @Lasagnerd on GitHub (Apr 17, 2025).

Originally assigned to: @hexapode on GitHub.

Describe the bug
Hi, we use 'parse_page_with_lvm' with our vendor api key for our work, but only yesterday received "Error while parsing the file '<bytes/buffer>': Failed to parse the file: {"detail":"Vendor API key are only supported for parse mode parse_page_with_lvm!"}". and we try in website ui using same setting, with vendor api valid, the same error message is reported. please let us know what to change.

Client:

  • API
Originally created by @Lasagnerd on GitHub (Apr 17, 2025). Originally assigned to: @hexapode on GitHub. **Describe the bug** Hi, we use 'parse_page_with_lvm' with our vendor api key for our work, but only yesterday received "Error while parsing the file '<bytes/buffer>': Failed to parse the file: {"detail":"Vendor API key are only supported for parse mode parse_page_with_lvm!"}". and we try in website ui using same setting, with vendor api valid, the same error message is reported. please let us know what to change. **Client:** - API
yindo added the bug label 2026-02-16 00:17:54 -05:00
yindo closed this issue 2026-02-16 00:17:54 -05:00
Author
Owner

@logan-markewich commented on GitHub (Apr 17, 2025):

What is the complete settings/config you used? A code sample would help

@logan-markewich commented on GitHub (Apr 17, 2025): What is the complete settings/config you used? A code sample would help
Author
Owner

@Lasagnerd commented on GitHub (Apr 17, 2025):

What is the complete settings/config you used? A code sample would help

hi, here is the setting we used from the beginning of our account without problem:

parser = LlamaParse(
api_key=self.conf["llama_parse"]["api_key"]
use_vendor_multimodal_model=True,
parse_mode="parse_page_with_lvm",
result_type="markdown",
vendor_multimodal_model_name='openai-gpt-4o-mini',
vendor_multimodal_api_key=self.conf["test_openai"]["api_key"])

@Lasagnerd commented on GitHub (Apr 17, 2025): > What is the complete settings/config you used? A code sample would help hi, here is the setting we used from the beginning of our account without problem: parser = LlamaParse( api_key=self.conf["llama_parse"]["api_key"] use_vendor_multimodal_model=True, parse_mode="parse_page_with_lvm", result_type="markdown", vendor_multimodal_model_name='openai-gpt-4o-mini', vendor_multimodal_api_key=self.conf["test_openai"]["api_key"])
Author
Owner

@hexapode commented on GitHub (Apr 17, 2025):

Hi!

There seems to be an issue, will release a patch soon and let you know

@hexapode commented on GitHub (Apr 17, 2025): Hi! There seems to be an issue, will release a patch soon and let you know
Author
Owner

@hexapode commented on GitHub (Apr 17, 2025):

The issue is now fixed in production, let me know if you encounter any other issue @Lasagnerd

As a side note

Parser = LlamaParse(
  api_key=self.conf["llama_parse"]["api_key"]
  use_vendor_multimodal_model=True,
  parse_mode="parse_page_with_lvm",
  result_type="markdown",
  vendor_multimodal_model_name='openai-gpt-4o-mini',
  vendor_multimodal_api_key=self.conf["test_openai"]["api_key"]
)

can be simplified to

Parser = LlamaParse(
api_key=self.conf["llama_parse"]["api_key"]
parse_mode="parse_page_with_lvm",
result_type="markdown",
vendor_multimodal_model_name='openai-gpt-4o-mini',
vendor_multimodal_api_key=self.conf["test_openai"]["api_key"]
)

use_vendor_multimodal_model=True being redundant with parse_mode="parse_page_with_lvm"

@hexapode commented on GitHub (Apr 17, 2025): The issue is now fixed in production, let me know if you encounter any other issue @Lasagnerd As a side note ``` Parser = LlamaParse( api_key=self.conf["llama_parse"]["api_key"] use_vendor_multimodal_model=True, parse_mode="parse_page_with_lvm", result_type="markdown", vendor_multimodal_model_name='openai-gpt-4o-mini', vendor_multimodal_api_key=self.conf["test_openai"]["api_key"] ) ``` can be simplified to ``` Parser = LlamaParse( api_key=self.conf["llama_parse"]["api_key"] parse_mode="parse_page_with_lvm", result_type="markdown", vendor_multimodal_model_name='openai-gpt-4o-mini', vendor_multimodal_api_key=self.conf["test_openai"]["api_key"] ) ``` `use_vendor_multimodal_model=True` being redundant with `parse_mode="parse_page_with_lvm"`
Author
Owner

@Lasagnerd commented on GitHub (Apr 17, 2025):

thanks it works now @hexapode

@Lasagnerd commented on GitHub (Apr 17, 2025): thanks it works now @hexapode
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#456