Feature: Add configurable LLM model name

This commit is contained in:
WLTBAgent
2026-02-16 17:18:31 +00:00
parent 3c2d356eb0
commit 69dfdc5f87
6 changed files with 125 additions and 5 deletions

View File

@@ -98,6 +98,24 @@ style('display:none');
</p>
</div>
<div class="analytics-hub-settings__field">
<label for="llm_model">
<?php p($l->t('Model')); ?>
<span class="analytics-hub-settings__optional"><?php p($l->t('(Optional - defaults to claude-sonnet-4-5-20250929)')); ?></span>
</label>
<input
type="text"
id="llm_model"
name="llm_model"
value="<?php p($_['llm_model']); ?>"
placeholder="claude-sonnet-4-5-20250929"
autocomplete="off"
/>
<p class="analytics-hub-settings__hint">
<?php p($l->t('Enter the model to use. Examples: claude-sonnet-4-5-20250929, claude-3-5-sonnet-20241022, claude-3-opus-20240229')); ?>
</p>
</div>
<div class="analytics-hub-settings__field">
<label for="anthropic_api_key">
<?php p($l->t('API Key')); ?>