Skip to content

Commit db41b81

Browse files
robert-j-yOpenRouter SDK Bot
andauthored
chore: update OpenAPI spec [sdk-bot] (#252)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent 5ac42a3 commit db41b81

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.speakeasy/in.openapi.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5483,6 +5483,8 @@ components:
54835483
example: '[EMAIL]'
54845484
maxLength: 100
54855485
type: string
5486+
scan_scope:
5487+
$ref: '#/components/schemas/PromptInjectionScanScope'
54865488
slug:
54875489
$ref: '#/components/schemas/ContentFilterBuiltinSlug'
54885490
required:
@@ -5506,6 +5508,8 @@ components:
55065508
but silently ignored.
55075509
maxLength: 100
55085510
type: string
5511+
scan_scope:
5512+
$ref: '#/components/schemas/PromptInjectionScanScope'
55095513
slug:
55105514
$ref: '#/components/schemas/ContentFilterBuiltinSlug'
55115515
required:
@@ -15518,6 +15522,15 @@ components:
1551815522
required:
1551915523
- type
1552015524
type: object
15525+
PromptInjectionScanScope:
15526+
description: >-
15527+
Which message roles to scan for prompt injection. Only applies to the regex-prompt-injection builtin. Defaults
15528+
to all_messages.
15529+
enum:
15530+
- user_only
15531+
- all_messages
15532+
example: user_only
15533+
type: string
1552115534
ProviderName:
1552215535
enum:
1552315536
- AkashML

0 commit comments

Comments
 (0)