diff --git a/python/ql/lib/semmle/python/frameworks/OpenAI.qll b/python/ql/lib/semmle/python/frameworks/OpenAI.qll index b56c868ba8f..3909d591b3b 100644 --- a/python/ql/lib/semmle/python/frameworks/OpenAI.qll +++ b/python/ql/lib/semmle/python/frameworks/OpenAI.qll @@ -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. */ diff --git a/python/ql/lib/semmle/python/frameworks/OpenRouter.qll b/python/ql/lib/semmle/python/frameworks/OpenRouter.qll index 3b43770ec1c..bc795ef5b15 100644 --- a/python/ql/lib/semmle/python/frameworks/OpenRouter.qll +++ b/python/ql/lib/semmle/python/frameworks/OpenRouter.qll @@ -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. */