We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dccaa84 commit 1ec82d9Copy full SHA for 1ec82d9
python/ql/lib/semmle/python/frameworks/OpenAI.qll
@@ -17,6 +17,7 @@ module AgentSDK {
17
/** Gets a reference to the `agents.Agent` class. */
18
API::Node classRef() { result = API::moduleImport("agents").getMember("Runner") }
19
20
+ /** Gets a reference to the `run` members. */
21
API::Node runMembers() { result = classRef().getMember(["run", "run_sync", "run_streamed"]) }
22
23
/** 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