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
29 changes: 29 additions & 0 deletions agentic_security/routes/_specs.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,20 @@
"frequency_penalty": 0,
"presence_penalty": 0
}
""",
"""POST https://api.orcarouter.ai/v1/chat/completions
Authorization: Bearer $ORCAROUTER_API_KEY
Content-Type: application/json

{
"model": "openai/gpt-5.5",
"messages": [{"role": "user", "content": "<<PROMPT>>"}],
"temperature": 0.7,
"max_tokens": 150,
"top_p": 0.9,
"frequency_penalty": 0,
"presence_penalty": 0
}
""",
]

Expand Down Expand Up @@ -356,6 +370,20 @@
"frequency_penalty": 0,
"presence_penalty": 0
}
""",
"""POST https://api.orcarouter.ai/v1/chat/completions
Authorization: Bearer $ORCAROUTER_API_KEY
Content-Type: application/json

{
"model": "openai/gpt-5.5",
"messages": [{"role": "user", "content": "<<PROMPT>>"}],
"temperature": 0.7,
"max_tokens": 150,
"top_p": 0.9,
"frequency_penalty": 0,
"presence_penalty": 0
}
""",
]

Expand Down Expand Up @@ -392,6 +420,7 @@
{"name": "Azure OpenAI", "prompts": 40000, "logo": "/icons/azureai.png"},
{"name": "assemblyai", "prompts": 40000, "logo": "/icons/myshell.png"},
{"name": "OpenRouter.ai", "prompts": 40000, "logo": "/icons/openrouter.png"},
{"name": "OrcaRouter", "prompts": 40000, "logo": "/icons/myshell.png"},
]

LLM_SPECS = [dict(spec=spec, **d) for spec, d in zip(_SPECS, LLM_CONFIGS)]
16 changes: 16 additions & 0 deletions agentic_security/static/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,21 @@ Content-Type: application/json
"frequency_penalty": 0,
"presence_penalty": 0
}
`,

`POST https://api.orcarouter.ai/v1/chat/completions
Authorization: Bearer $ORCAROUTER_API_KEY
Content-Type: application/json

{
"model": "openai/gpt-5.5",
"messages": [{"role": "user", "content": "<<PROMPT>>"}],
"temperature": 0.7,
"max_tokens": 150,
"top_p": 0.9,
"frequency_penalty": 0,
"presence_penalty": 0
}
`,

]
Expand All @@ -206,6 +221,7 @@ let LLM_CONFIGS = [
{ name: 'Azure OpenAI', prompts: 40000, logo: '/icons/azureai.png' },
{ name: 'assemblyai', prompts: 40000, logo: fallbackIcon },
{ name: 'OpenRouter.ai', prompts: 40000, logo: '/icons/openrouter.png' },
{ name: 'OrcaRouter', prompts: 40000, logo: fallbackIcon },

];
function has_image(spec) {
Expand Down