Skip to content

Commit 942834d

Browse files
mbaludaCopilot
andauthored
Update python/ql/lib/semmle/python/frameworks/OpenAI.qll
Co-authored-by: Copilot <[email protected]>
1 parent 616698c commit 942834d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

python/ql/lib/semmle/python/frameworks/OpenAI.qll

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,6 @@ module Agent {
2525
* See https://github.com/openai/openai-python.
2626
*/
2727
module OpenAI {
28-
/** Gets a reference to `openai.OpenAI`, `openai.AsyncOpenAI` and `openai.AzureOpenAI`classes. */
29-
API::Node classRef() {
30-
result = API::moduleImport("openai").getMember(["OpenAI", "AsyncOpenAI", "AzureOpenAI"])
31-
}
32-
33-
/** Gets a reference to a potential property of `openai.OpenAI called instructions which refers to the system prompt. */
3428
API::Node sink() {
3529
result =
3630
classRef()

0 commit comments

Comments
 (0)