Skip to content

[AAASM-6445] 🐛 (python-sdk): Govern LangChain tool calls from init_assembly() - #389

Open
Chisanan232 wants to merge 9 commits into
mainfrom
v0.0.1/AAASM-6445/fix/langchain_govern_on_init
Open

Chisanan232 wants to merge 9 commits into
mainfrom
v0.0.1/AAASM-6445/fix/langchain_govern_on_init

📝 (python-sdk): Say a handler is neither checked nor ended twice

eb4e95e
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Nov 6, 2026 in 42s

Annotations

Check warning on line 138 in test/unit/test_quickstart_langchain_governs_on_init.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

See more on https://sonarcloud.io/project/issues?id=ai-agent-assembly_python-sdk&issues=AaGuevHOY1BJ808Gevp8&open=AaGuevHOY1BJ808Gevp8&pullRequest=389

Check warning on line 322 in test/unit/test_quickstart_langchain_governs_on_init.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

See more on https://sonarcloud.io/project/issues?id=ai-agent-assembly_python-sdk&issues=AaGuh5VLV4dz7R_w0g3Q&open=AaGuh5VLV4dz7R_w0g3Q&pullRequest=389

Check warning on line 192 in test/unit/test_quickstart_langchain_governs_on_init.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Split this composite assertion into separate assertions.

See more on https://sonarcloud.io/project/issues?id=ai-agent-assembly_python-sdk&issues=AaGuh5VLV4dz7R_w0g3N&open=AaGuh5VLV4dz7R_w0g3N&pullRequest=389

Check warning on line 241 in test/unit/test_quickstart_langchain_governs_on_init.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

See more on https://sonarcloud.io/project/issues?id=ai-agent-assembly_python-sdk&issues=AaGuevHOY1BJ808Gevp_&open=AaGuevHOY1BJ808Gevp_&pullRequest=389

Check warning on line 204 in test/unit/test_quickstart_langchain_governs_on_init.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

See more on https://sonarcloud.io/project/issues?id=ai-agent-assembly_python-sdk&issues=AaGuh5VLV4dz7R_w0g3O&open=AaGuh5VLV4dz7R_w0g3O&pullRequest=389

Check warning on line 109 in test/unit/test_quickstart_langchain_governs_on_init.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

See more on https://sonarcloud.io/project/issues?id=ai-agent-assembly_python-sdk&issues=AaGuevHOY1BJ808Gevp7&open=AaGuevHOY1BJ808Gevp7&pullRequest=389

Check warning on line 166 in test/unit/test_quickstart_langchain_governs_on_init.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

See more on https://sonarcloud.io/project/issues?id=ai-agent-assembly_python-sdk&issues=AaGuh5VLV4dz7R_w0g3L&open=AaGuh5VLV4dz7R_w0g3L&pullRequest=389

Check warning on line 185 in test/unit/test_quickstart_langchain_governs_on_init.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

See more on https://sonarcloud.io/project/issues?id=ai-agent-assembly_python-sdk&issues=AaGuh5VLV4dz7R_w0g3M&open=AaGuh5VLV4dz7R_w0g3M&pullRequest=389

Check warning on line 223 in test/unit/test_quickstart_langchain_governs_on_init.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

See more on https://sonarcloud.io/project/issues?id=ai-agent-assembly_python-sdk&issues=AaGuh5VLV4dz7R_w0g3P&open=AaGuh5VLV4dz7R_w0g3P&pullRequest=389