- Issue created by @drupalninja99
- 🇮🇳India vinayakmk47
When the AI module is installed and Anthropic is configured as the provider, the Max Tokens setting can be adjusted directly in the admin interface. Navigate to the following URL to access this setting:
URL: admin/config/ai/explorers/chat_generator
On this page, under the Provider Configuration section (as shown in the screenshot), you will find the Max Tokens input field. This field allows you to specify the desired maximum token limit for chat completions. For example, you can input 4096 to accommodate your requirements.
This ensures flexibility and control over the token limit for your specific use case without requiring any code-level changes.
- 🇮🇳India abhinesh
abhinesh → changed the visibility of the branch 3502348-max-tokens-too to hidden.
- First commit to issue fork.
- 🇮🇳India pavnish
Hi Marcus,
Could you please review the MR? We have provided the configuration option to set the token limit and ensured it is used from this configuration.
Please let me know if you need any changes.
Thanks,
Pavnish