Error: Internal error: property 'prompt_cache_key' is unsupported using native Groq provider with qwen3.8-27b
Author: gioacchino-mauroCreated Sep 29, 2026Updated Sep 29, 2026
Labelsbug
When configuring the plugin using the native Groq provider, the default Base URL, and the suggested groq/qwen/qwen3.8-27b model, any prompt via copilot agent fails immediately with an error, It works perfectly fine in chat, however.
Error: Internal error: property 'prompt_cache_key' is unsupported
The underlying cause is that the plugin is universally injecting the prompt_cache_key parameter into the API payload. While this parameter is standard for OpenAI/Anthropic, Groq's API validator does not recognize it and explicitly rejects the request as unsupported. Furthermore, there is no toggle in the UI settings to manually disable Prompt Caching for the Groq provider.
Steps to Reproduce
- Go to the plugin settings in Obsidian.
- Select Groq as the Service Provider.
- Keep the default Groq Base URL and enter a valid API key.
- Select the default offered model: groq/qwen/qwen3.8-27b (or qwen/qwen3.8-27b).
- Run any prompt command.
- The request with copilot agent fails with an error stating prompt_cache_key is unsupported.
Environment
- Obsidian Version: 1.13.7
- Copilot version: 4.0.12
- OS: Windows 11
Source: logancyang/obsidian-copilot