Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion runners/extension/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "Agent OPFOR",
"version": "0.10.0",
"version": "0.10.1",
"description": "Red-team any chat interface. Auto-detects chat widgets, runs adaptive attacks, and generates security reports.",
"icons": {
"16": "icons/icon16.png",
Expand Down
66 changes: 33 additions & 33 deletions runners/extension/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -2184,6 +2184,39 @@
</div>
</div>

<!-- Base URL (Azure + OpenAI-compatible only) -->
<div class="llm-field" id="baseUrlField" style="display: none">
<div class="endpoint-step-label">
Base URL
<span
class="info-tip"
data-tooltip="Root URL of your OpenAI-compatible server, e.g. http://localhost:11434/v1"
>
<svg
width="12"
height="12"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<circle cx="12" cy="12" r="10" />
<line x1="12" y1="8" x2="12" y2="12" />
<line x1="12" y1="16" x2="12.01" y2="16" />
</svg>
</span>
</div>
<input
id="baseUrl"
type="text"
placeholder="https://api.openai.com/v1"
autocomplete="off"
spellcheck="false"
/>
</div>

<!-- API Key -->
<div class="llm-field">
<div class="endpoint-step-label">
Expand Down Expand Up @@ -2236,39 +2269,6 @@
</button>
</div>
</div>

<!-- Base URL (Azure + OpenAI-compatible only) -->
<div class="llm-field" id="baseUrlField" style="display: none">
<div class="endpoint-step-label">
Base URL
<span
class="info-tip"
data-tooltip="Root URL of your OpenAI-compatible server, e.g. http://localhost:11434/v1"
>
<svg
width="12"
height="12"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<circle cx="12" cy="12" r="10" />
<line x1="12" y1="8" x2="12" y2="12" />
<line x1="12" y1="16" x2="12.01" y2="16" />
</svg>
</span>
</div>
<input
id="baseUrl"
type="text"
placeholder="https://api.openai.com/v1"
autocomplete="off"
spellcheck="false"
/>
</div>
<!-- Model -->
<div id="modelSection" class="llm-field">
<div class="endpoint-step-label">
Expand Down
2 changes: 1 addition & 1 deletion runners/extension/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -2733,7 +2733,7 @@ function applyProvider({ resetModel = false } = {}) {
const isSimple = !!SIMPLE_PROVIDER_FETCH_CONFIG[state.provider];

// Unified layout: every provider renders the same labeled rows
// (Provider → API KeyBase URL → Model). Only the Base URL row and the
// (Provider → Base URLAPI Key → Model). Only the Base URL row and the
// OpenAI-compatible affordances (optional-key note, model refresh) toggle.
$("baseUrlField").style.display = needsBaseUrl ? "" : "none";
$("apiKeyHint").style.display = isCompatible ? "inline-flex" : "none";
Expand Down
Loading