Python: apply codeql query format to prompt-injection framework files

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Sotiris Dragonas
2026-06-29 10:40:04 +03:00
parent 0abd325944
commit a06f22aeaa
2 changed files with 10 additions and 2 deletions

View File

@@ -93,7 +93,11 @@ module OpenAI {
/** Gets the message dictionaries passed as a list to `responses.create`. */
private API::Node responsesMessage() {
result =
classRef().getMember("responses").getMember("create").getKeywordParameter("input").getASubscript()
classRef()
.getMember("responses")
.getMember("create")
.getKeywordParameter("input")
.getASubscript()
}
/** Gets the content sink of a message dictionary, including the `text` of structured content. */

View File

@@ -25,7 +25,11 @@ module OpenRouter {
/** Gets the message dictionaries passed to `chat.send`. */
private API::Node chatMessage() {
result =
clientRef().getMember("chat").getMember("send").getKeywordParameter("messages").getASubscript()
clientRef()
.getMember("chat")
.getMember("send")
.getKeywordParameter("messages")
.getASubscript()
}
/** Gets the content sink of a message dictionary, including the `text` of structured content. */