Skip to content

Commit 1ec82d9

Browse files
authored
Update OpenAI.qll
1 parent dccaa84 commit 1ec82d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ module AgentSDK {
1717
/** Gets a reference to the `agents.Agent` class. */
1818
API::Node classRef() { result = API::moduleImport("agents").getMember("Runner") }
1919

20+
/** Gets a reference to the `run` members. */
2021
API::Node runMembers() { result = classRef().getMember(["run", "run_sync", "run_streamed"]) }
2122

2223
/** Gets a reference to a potential property of `agents.Runner` called input which can refer to a system prompt depending on the role specified. */

0 commit comments

Comments
 (0)