{
"event": "PostToolUse",
"tool_name": "Read",
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/View\/content-pipeline\/show.php",
"content": " $ollamaModels = array_filter($availableModels, fn ($k) => str_starts_with($k, 'ollama:'), ARRAY_FILTER_USE_KEY);\n $anthropicModels = array_filter($availableModels, fn ($k) => !str_starts_with($k, 'ollama:'), ARRAY_FILTER_USE_KEY);\n ?>\n <select name=\"model\" class=\"form-select form-select--compact\"\n hx-post=\"\/content-pipeline\/<?= $pipeline['id'] ?>\/steps\/<?= $step['id'] ?>\/model\"\n hx-headers='{\"X-CSRF-TOKEN\": \"<?= $csrfToken ?>\"}'\n hx-swap=\"none\"\n hx-disabled-elt=\"this\"\n hx-on::after-request=\"this.classList.toggle('is-saved', event.detail.successful); setTimeout(() => this.classList.remove('is-saved'), 1000)\">\n <?php if (!empty($ollamaModels)): ?>\n <optgroup label=\"Ollama (lokal)\">\n <?php foreach ($ollamaModels as $modelId => $label): ?>\n <option value=\"<?= htmlspecialchars($modelId) ?>\" <?= $selected === $modelId ? 'selected' : '' ?>><?= htmlspecialchars($label) ?><\/option>\n <?php endforeach; ?>\n <\/optgroup>\n <?php endif; ?>\n <?php if (!empty($anthropicModels)): ?>\n <optgroup label=\"Anthropic\">\n <?php foreach ($anthropicModels as $modelId => $label): ?>\n <option value=\"<?= htmlspecialchars($modelId) ?>\" <?= $selected === $modelId ? 'selected' : '' ?>><?= htmlspecialchars($label) ?><\/option>\n <?php endforeach; ?>\n <\/optgroup>\n <?php endif; ?>\n <\/select>\n <?php else: ?>\n <span class=\"text-muted\">-<\/span>\n <?php endif; ?>\n <\/td>\n <td class=\"storage-cell\">\n <?php if (!empty($meta['has_collection'])): ?>\n <span class=\"storage-prefix\">Qdrant:<\/span>\n <select name=\"collection\" class=\"collection-select\"\n hx-post=\"\/content-pipeline\/<?= $pipeline['id'] ?>\/steps\/<?= $step['id'] ?>\/collection\"\n hx-headers='{\"X-CSRF-TOKEN\": \"<?= $csrfToken ?>\"}'\n hx-swap=\"none\"\n hx-disabled-elt=\"this\"\n hx-on::after-request=\"this.classList.toggle('is-saved', event.detail.successful); setTimeout(() => this.classList.remove('is-saved'), 1000)\">\n <?php foreach ($collections as $collKey => $collLabel): ?>\n <option value=\"<?= htmlspecialchars($collKey) ?>\" <?= ($config['collection'] ?? 'documents') === $collKey ? 'selected' : '' ?>>\n <?= htmlspecialchars($collKey) ?>\n <\/option>\n <?php endforeach; ?>\n <\/select>\n <?php elseif ($storage): ?>\n <code class=\"storage-code\"><?= htmlspecialchars($storage) ?><\/code>",
"numLines": 45,
"startLine": 95,
"totalLines": 314
}
}
}