A programming framework for agentic AI
2839 matches across 22 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | python/check_md_code_blocks.py | 17 | def extract_python_code_blocks(markdown_file_path: str) -> List[Tuple[str, int]]: |
| LOW | python/docs/src/generate_api_reference.py | 201 | def generate_toctree_from_rst_files(reference_dir: Path) -> Dict[str, List[str]]: |
| LOW | python/docs/src/generate_api_reference.py | 224 | def sort_modules_hierarchically(modules): |
| LOW | python/docs/src/_static/custom.js | 163 | function enhanceExpandableSections(item, parentLink, parentText, sectionTitle) { |
| LOW | python/samples/core_distributed-group-chat/_agents.py | 195 | async def publish_message_to_ui_and_backend( |
| LOW | …ples/core_streaming_handoffs_fastapi/tools_delegate.py | 8 | def transfer_to_issues_and_repairs() -> str: |
| LOW | …ask_centric_memory/eval_learning_from_demonstration.py | 30 | async def eval_learning_from_demonstration( |
| LOW | python/packages/agbench/benchmarks/process_logs.py | 144 | def get_number_of_chat_messages(chat_messages_dir): |
| LOW | python/packages/agbench/benchmarks/process_logs.py | 201 | def is_progress_not_being_made(instance_dir): |
| LOW | …/HumanEval/Templates/AgentChat/custom_code_executor.py | 24 | def _extract_markdown_code_blocks(self, markdown_text: str) -> List[CodeBlock]: |
| LOW | …ges/agbench/benchmarks/GAIA/Scripts/custom_tabulate.py | 16 | def in_house_normalize_answer(a): |
| LOW | …h/benchmarks/GAIA/Templates/ParallelAgents/scenario.py | 115 | def team_specific_agentchat_event_logger_info(msg, *args, **kwargs): |
| LOW | …h/benchmarks/GAIA/Templates/ParallelAgents/scenario.py | 124 | def team_specific_core_event_logger_info(msg, *args, **kwargs): |
| LOW | …hon/packages/agbench/src/agbench/remove_missing_cmd.py | 31 | def delete_folders_with_missing_results(runlogs_path: str, noconfirm: bool = False) -> None: |
| LOW | python/packages/agbench/src/agbench/run_cmd.py | 696 | def build_default_docker_image(docker_client: docker.DockerClient, image_tag: str) -> None: |
| LOW | …ackages/agbench/src/agbench/linter/coders/oai_coder.py | 15 | def remove_control_characters(text: str) -> str: |
| LOW | …es/autogen-studio/autogenstudio/database/db_manager.py | 312 | async def import_teams_from_directory( |
| LOW | …utogen-studio/autogenstudio/database/schema_manager.py | 88 | def _cleanup_existing_alembic(self) -> None: |
| LOW | …utogen-studio/autogenstudio/database/schema_manager.py | 193 | def _generate_alembic_ini_content(self) -> str: |
| LOW | …thon/packages/autogen-studio/autogenstudio/web/deps.py | 119 | async def register_auth_dependencies(app: FastAPI, auth_manager: AuthManager) -> None: |
| LOW | …ackages/autogen-studio/autogenstudio/web/routes/mcp.py | 186 | async def create_mcp_websocket_connection(request: CreateWebSocketConnectionRequest): |
| LOW | …ckages/autogen-studio/autogenstudio/gallery/builder.py | 57 | def _update_component_metadata( |
| LOW | …/packages/autogen-studio/autogenstudio/mcp/wsbridge.py | 137 | async def _handle_elicitation_response(self, message: Dict[str, Any]) -> None: |
| LOW | …packages/autogen-studio/autogenstudio/mcp/callbacks.py | 120 | def create_elicitation_callback( |
| LOW | …o/frontend/src/components/types/component-templates.ts | 523 | export function createComponentFromTemplate( |
| LOW | …o/frontend/src/components/types/component-templates.ts | 555 | export function getWorkbenchTemplatesForDropdown(): WorkbenchDropdownOption[] { |
| LOW | …o/frontend/src/components/types/component-templates.ts | 564 | export function createWorkbenchFromTemplate( |
| LOW | …o/frontend/src/components/types/component-templates.ts | 599 | export function createComponentFromTemplateById( |
| LOW | …o/frontend/src/components/types/component-templates.ts | 615 | export function getTeamTemplatesForDropdown(): ComponentDropdownOption[] { |
| LOW | …o/frontend/src/components/types/component-templates.ts | 626 | export function getAgentTemplatesForDropdown(): ComponentDropdownOption[] { |
| LOW | …o/frontend/src/components/types/component-templates.ts | 637 | export function getModelTemplatesForDropdown(): ComponentDropdownOption[] { |
| LOW | …o/frontend/src/components/types/component-templates.ts | 648 | export function getToolTemplatesForDropdown(): ComponentDropdownOption[] { |
| LOW | …o/frontend/src/components/types/component-templates.ts | 659 | export function getTerminationTemplatesForDropdown(): ComponentDropdownOption[] { |
| LOW | …o/frontend/src/components/types/component-templates.ts | 663 | export function createTerminationFromTemplate( |
| LOW | …autogen-studio/frontend/src/components/types/guards.ts | 191 | // export function isChatCompletionContextComponent( |
| LOW | …thon/packages/autogen-studio/tests/test_lite_studio.py | 59 | def test_init_with_team_object(sample_team_object: Dict[str, Union[str, List[Any]]]) -> None: |
| LOW | …thon/packages/autogen-studio/tests/test_lite_studio.py | 90 | def test_init_with_invalid_file() -> None: |
| LOW | …thon/packages/autogen-studio/tests/test_lite_studio.py | 170 | def test_stop_with_server_thread(sample_team_file: str) -> None: |
| LOW | …thon/packages/autogen-studio/tests/test_lite_studio.py | 200 | def test_start_twice_raises_error(mock_uvicorn: MagicMock, sample_team_file: str) -> None: |
| LOW | …thon/packages/autogen-studio/tests/test_lite_studio.py | 212 | def test_init_with_team_object_with_serialization_methods() -> None: |
| LOW | …thon/packages/autogen-studio/tests/test_lite_studio.py | 237 | def test_init_with_team_object_model_dump() -> None: |
| LOW | …thon/packages/autogen-studio/tests/test_lite_studio.py | 254 | def test_init_with_unsupported_team_object() -> None: |
| LOW | …thon/packages/autogen-studio/tests/test_lite_studio.py | 266 | def test_init_with_path_object(tmp_path: Path) -> None: |
| LOW | …thon/packages/autogen-studio/tests/test_lite_studio.py | 289 | def test_init_with_component_model() -> None: |
| LOW | python/packages/autogen-studio/tests/test_db_manager.py | 62 | def test_basic_entity_creation(self, test_db: DatabaseManager, sample_team: Team): |
| LOW | python/packages/autogen-studio/tests/test_db_manager.py | 170 | def test_initialize_database_scenarios(self, tmp_path, monkeypatch): |
| LOW | …packages/autogen-studio/tests/mcp/test_mcp_wsbridge.py | 58 | async def test_bridge_initialization(self, bridge, mock_websocket): |
| LOW | …packages/autogen-studio/tests/mcp/test_mcp_wsbridge.py | 82 | async def test_on_initialized_event(self, bridge, mock_websocket): |
| LOW | …packages/autogen-studio/tests/mcp/test_mcp_wsbridge.py | 95 | async def test_on_operation_result_event(self, bridge, mock_websocket): |
| LOW | …packages/autogen-studio/tests/mcp/test_mcp_wsbridge.py | 109 | async def test_on_operation_error_event(self, bridge, mock_websocket): |
| LOW | …packages/autogen-studio/tests/mcp/test_mcp_wsbridge.py | 123 | async def test_on_elicitation_request_event(self, bridge, mock_websocket): |
| LOW | …packages/autogen-studio/tests/mcp/test_mcp_wsbridge.py | 160 | async def test_handle_operation_message_without_client(self, bridge, mock_websocket): |
| LOW | …packages/autogen-studio/tests/mcp/test_mcp_wsbridge.py | 175 | async def test_handle_operation_message_with_client(self, bridge, mock_websocket): |
| LOW | …packages/autogen-studio/tests/mcp/test_mcp_wsbridge.py | 198 | async def test_handle_unknown_message_type(self, bridge, mock_websocket): |
| LOW | …packages/autogen-studio/tests/mcp/test_mcp_wsbridge.py | 213 | async def test_handle_elicitation_response_accept(self, bridge, mock_websocket): |
| LOW | …packages/autogen-studio/tests/mcp/test_mcp_wsbridge.py | 240 | async def test_handle_elicitation_response_decline(self, bridge, mock_websocket): |
| LOW | …packages/autogen-studio/tests/mcp/test_mcp_wsbridge.py | 262 | async def test_handle_elicitation_response_missing_request_id(self, bridge, mock_websocket): |
| LOW | …packages/autogen-studio/tests/mcp/test_mcp_wsbridge.py | 278 | async def test_handle_elicitation_response_unknown_request_id(self, bridge, mock_websocket): |
| LOW | …packages/autogen-studio/tests/mcp/test_mcp_wsbridge.py | 295 | async def test_message_loop_with_valid_json(self, bridge, mock_websocket): |
| LOW | …packages/autogen-studio/tests/mcp/test_mcp_wsbridge.py | 317 | async def test_message_loop_with_invalid_json(self, bridge, mock_websocket): |
| 1069 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | python/docs/redirects/redirects.py | 14 | # Create a new redirect page |
| MEDIUM | python/docs/redirects/redirects.py | 26 | # Create the path to the redirect page |
| MEDIUM | python/docs/redirects/redirects.py | 29 | # Create the directory if it doesn't exist |
| MEDIUM | python/docs/src/_extension/code_lint.py | 66 | # Create a temporary file to store the code block |
| MEDIUM | python/docs/src/_extension/gallery_directive.py | 115 | # Create the directive string for the grid |
| MEDIUM | python/samples/core_distributed-group-chat/_types.py | 71 | # Define the overall AppConfig model |
| MEDIUM | …/samples/core_streaming_handoffs_fastapi/agent_base.py | 82 | # Create the context for the delegate agent, including the function call and the result. |
| MEDIUM | python/samples/agentchat_fastapi/app_team.py | 52 | # Create the team. |
| MEDIUM | python/samples/agentchat_fastapi/app_agent.py | 46 | # Create the assistant agent. |
| MEDIUM | …on/samples/core_semantic_router/run_semantic_router.py | 85 | # Create the agents |
| MEDIUM | …on/samples/core_semantic_router/run_semantic_router.py | 92 | # Create the User Proxy Agent |
| MEDIUM | …on/samples/core_semantic_router/run_semantic_router.py | 104 | # Create the Semantic Router |
| MEDIUM | python/samples/agentchat_chess_game/main.py | 15 | # Create an agent that can use the model client. |
| MEDIUM | python/samples/core_streaming_response_fastapi/app.py | 70 | # Create a stream of messages to the model client. |
| MEDIUM | python/samples/task_centric_memory/eval_retrieval.py | 93 | # Create the necessary components. |
| MEDIUM | python/samples/task_centric_memory/eval_teachability.py | 93 | # Create the necessary components. |
| MEDIUM | …thon/samples/task_centric_memory/eval_self_teaching.py | 109 | # Create the necessary components. |
| MEDIUM | …mples/task_centric_memory/chat_with_teachable_agent.py | 9 | # Create a client |
| MEDIUM | …mples/task_centric_memory/chat_with_teachable_agent.py | 12 | # Create an instance of Task-Centric Memory, passing minimal parameters for this simple example |
| MEDIUM | …mples/task_centric_memory/chat_with_teachable_agent.py | 18 | # Create an AssistantAgent, and attach teachability as its memory |
| MEDIUM | …ask_centric_memory/eval_learning_from_demonstration.py | 91 | # Create the necessary components. |
| MEDIUM | python/samples/core_chess_game/main.py | 147 | # Create the board. |
| MEDIUM | python/samples/core_chainlit/app_team.py | 95 | # Create the assistant agent. |
| MEDIUM | python/samples/core_chainlit/app_team.py | 108 | # Create the critic agent. |
| MEDIUM | python/samples/core_chainlit/app_agent.py | 63 | # Create a runtime and save to chainlit session |
| MEDIUM | python/samples/core_chainlit/app_agent.py | 70 | # Create a queue for output stream data and save to chainlit session |
| MEDIUM | python/samples/core_chainlit/app_agent.py | 74 | # Create the assistant agent with the get_weather tool. |
| MEDIUM | python/samples/agentchat_chainlit/app_team.py | 21 | # Create the assistant agent. |
| MEDIUM | python/samples/agentchat_chainlit/app_team.py | 29 | # Create the critic agent. |
| MEDIUM | python/samples/agentchat_chainlit/app_agent.py | 38 | # Create the assistant agent with the get_weather tool. |
| MEDIUM | …thon/samples/agentchat_chainlit/app_team_user_proxy.py | 54 | # Create the assistant agent. |
| MEDIUM | …thon/samples/agentchat_chainlit/app_team_user_proxy.py | 62 | # Create the critic agent. |
| MEDIUM | …thon/samples/agentchat_chainlit/app_team_user_proxy.py | 71 | # Create the user proxy agent. |
| MEDIUM | …ges/agbench/benchmarks/HumanEval/Scripts/init_tasks.py | 67 | # Create a BytesIO object from the response content |
| MEDIUM | …ges/agbench/benchmarks/HumanEval/Scripts/init_tasks.py | 83 | # Create a task directory if it doesn't exist |
| MEDIUM | …ges/agbench/benchmarks/HumanEval/Scripts/init_tasks.py | 87 | # Create the jsonl file |
| MEDIUM | …ges/agbench/benchmarks/HumanEval/Scripts/init_tasks.py | 117 | # Create the various combinations of [models] x [templates] |
| MEDIUM | …h/benchmarks/HumanEval/Templates/AgentChat/scenario.py | 47 | # Define a team |
| MEDIUM | …packages/agbench/benchmarks/GAIA/Scripts/init_tasks.py | 117 | # Create the various combinations of [models] x [templates] |
| MEDIUM | …h/benchmarks/GAIA/Templates/ParallelAgents/scenario.py | 56 | # Create a context variable to hold the current team's log file and the current team id. |
| MEDIUM | …enchmarks/GAIA/Templates/SelectorGroupChat/scenario.py | 83 | # Create the team |
| MEDIUM | python/packages/agbench/src/agbench/tabulate_cmd.py | 241 | # Create a per-trial summary dataframe |
| MEDIUM | python/packages/agbench/src/agbench/tabulate_cmd.py | 263 | # Create a dataframe |
| MEDIUM | python/packages/agbench/src/agbench/run_cmd.py | 135 | # Create a folder to store the results |
| MEDIUM | python/packages/agbench/src/agbench/run_cmd.py | 774 | # Create a folder to store the results |
| MEDIUM | python/packages/agbench/src/agbench/run_cmd.py | 825 | # Create a pool of worker processes |
| MEDIUM | …thon/packages/autogen-studio/autogenstudio/web/deps.py | 277 | # Create a default session with this team |
| MEDIUM | …ckages/autogen-studio/autogenstudio/gallery/builder.py | 292 | # Create a complex termination combining multiple conditions |
| MEDIUM | …ckages/autogen-studio/autogenstudio/gallery/builder.py | 520 | # Create a static workbench with basic tools |
| MEDIUM | …ckages/autogen-studio/autogenstudio/gallery/builder.py | 528 | # Create an MCP workbench for fetching web content using mcp-server-fetch |
| MEDIUM | …ckages/autogen-studio/autogenstudio/gallery/builder.py | 542 | # Create an MCP workbench with StreamableHttpServerParams for HTTP-based MCP servers |
| MEDIUM | …ckages/autogen-studio/autogenstudio/gallery/builder.py | 558 | # Create an MCP workbench for filesystem operations |
| MEDIUM | …ckages/autogen-studio/autogenstudio/gallery/builder.py | 577 | # Create an MCP workbench for testing with everything server |
| MEDIUM | …ogen-studio/autogenstudio/gallery/tools/bing_search.py | 201 | # Create the Bing search tool |
| MEDIUM | …en-studio/autogenstudio/gallery/tools/google_search.py | 129 | # Create the enhanced Google search tool |
| MEDIUM | …n-studio/autogenstudio/gallery/tools/generate_image.py | 54 | # Create the image generation tool |
| MEDIUM | …en-studio/autogenstudio/gallery/tools/fetch_webpage.py | 75 | # Create the webpage fetching tool |
| MEDIUM | …n/packages/autogen-studio/autogenstudio/eval/judges.py | 79 | # Create a score object |
| MEDIUM | …n/packages/autogen-studio/autogenstudio/eval/judges.py | 109 | # Create the prompt |
| MEDIUM | …n/packages/autogen-studio/autogenstudio/eval/judges.py | 216 | # # Create a model client |
| 232 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …ang_hello_python_agent/protos/agent_events_pb2_grpc.py | 4 | |
| LOW | python/samples/gitty/src/gitty/__init__.py | 1 | |
| LOW | …ges/agbench/benchmarks/HumanEval/Scripts/init_tasks.py | 6 | |
| LOW | …gbench/benchmarks/HumanEval/Scripts/custom_tabulate.py | 1 | |
| LOW | …/HumanEval/Templates/AgentChat/custom_code_executor.py | 1 | |
| LOW | …h/benchmarks/HumanEval/Templates/AgentChat/scenario.py | 2 | |
| LOW | …ges/agbench/benchmarks/GAIA/Scripts/custom_tabulate.py | 5 | |
| LOW | …ges/agbench/benchmarks/GAIA/Scripts/custom_tabulate.py | 6 | |
| LOW | …ges/agbench/benchmarks/GAIA/Scripts/custom_tabulate.py | 7 | |
| LOW | …ges/agbench/benchmarks/GAIA/Scripts/custom_tabulate.py | 8 | |
| LOW | …ges/agbench/benchmarks/GAIA/Scripts/custom_tabulate.py | 10 | |
| LOW | …ges/agbench/benchmarks/GAIA/Scripts/custom_tabulate.py | 11 | |
| LOW | …ench/benchmarks/GAIA/Templates/MagenticOne/scenario.py | 8 | |
| LOW | …ench/benchmarks/GAIA/Templates/MagenticOne/scenario.py | 10 | |
| LOW | …ench/benchmarks/GAIA/Templates/MagenticOne/scenario.py | 15 | |
| LOW | …h/benchmarks/GAIA/Templates/ParallelAgents/scenario.py | 12 | |
| LOW | …h/benchmarks/GAIA/Templates/ParallelAgents/scenario.py | 15 | |
| LOW | …h/benchmarks/GAIA/Templates/ParallelAgents/scenario.py | 27 | |
| LOW | …h/benchmarks/GAIA/Templates/ParallelAgents/scenario.py | 32 | |
| LOW | …h/benchmarks/GAIA/Templates/ParallelAgents/scenario.py | 32 | |
| LOW | …h/benchmarks/GAIA/Templates/ParallelAgents/scenario.py | 45 | |
| LOW | …enchmarks/GAIA/Templates/SelectorGroupChat/scenario.py | 11 | |
| LOW | …enchmarks/GAIA/Templates/SelectorGroupChat/scenario.py | 13 | |
| LOW | …enchmarks/GAIA/Templates/SelectorGroupChat/scenario.py | 19 | |
| LOW | …enchmarks/GAIA/Templates/SelectorGroupChat/scenario.py | 20 | |
| LOW | python/packages/agbench/src/agbench/__init__.py | 1 | |
| LOW | python/packages/agbench/src/agbench/linter/__init__.py | 2 | |
| LOW | python/packages/agbench/src/agbench/linter/__init__.py | 2 | |
| LOW | python/packages/agbench/src/agbench/linter/__init__.py | 2 | |
| LOW | python/packages/agbench/src/agbench/linter/__init__.py | 2 | |
| LOW | …thon/packages/autogen-studio/autogenstudio/__init__.py | 1 | |
| LOW | …thon/packages/autogen-studio/autogenstudio/__init__.py | 2 | |
| LOW | …thon/packages/autogen-studio/autogenstudio/__init__.py | 3 | |
| LOW | …thon/packages/autogen-studio/autogenstudio/__init__.py | 4 | |
| LOW | …ages/autogen-studio/autogenstudio/database/__init__.py | 1 | |
| LOW | …utogen-studio/autogenstudio/database/schema_manager.py | 2 | |
| LOW | …utogen-studio/autogenstudio/database/schema_manager.py | 8 | |
| LOW | …utogen-studio/autogenstudio/database/schema_manager.py | 14 | |
| LOW | …s/autogen-studio/autogenstudio/teammanager/__init__.py | 1 | |
| LOW | …packages/autogen-studio/autogenstudio/lite/__init__.py | 1 | |
| LOW | …thon/packages/autogen-studio/autogenstudio/web/deps.py | 2 | |
| LOW | …thon/packages/autogen-studio/autogenstudio/web/deps.py | 9 | |
| LOW | …thon/packages/autogen-studio/autogenstudio/web/deps.py | 13 | |
| LOW | …ckages/autogen-studio/autogenstudio/web/auth/models.py | 1 | |
| LOW | …ckages/autogen-studio/autogenstudio/web/auth/models.py | 2 | |
| LOW | …ckages/autogen-studio/autogenstudio/web/auth/models.py | 4 | |
| LOW | …ages/autogen-studio/autogenstudio/web/auth/__init__.py | 1 | |
| LOW | …ages/autogen-studio/autogenstudio/web/auth/__init__.py | 2 | |
| LOW | …ages/autogen-studio/autogenstudio/web/auth/__init__.py | 2 | |
| LOW | …ages/autogen-studio/autogenstudio/web/auth/__init__.py | 2 | |
| LOW | …ages/autogen-studio/autogenstudio/web/auth/__init__.py | 2 | |
| LOW | …ages/autogen-studio/autogenstudio/web/auth/__init__.py | 3 | |
| LOW | …ages/autogen-studio/autogenstudio/web/auth/__init__.py | 4 | |
| LOW | …ages/autogen-studio/autogenstudio/web/auth/__init__.py | 5 | |
| LOW | …ages/autogen-studio/autogenstudio/web/auth/__init__.py | 6 | |
| LOW | …ages/autogen-studio/autogenstudio/web/auth/__init__.py | 6 | |
| LOW | …ages/autogen-studio/autogenstudio/web/auth/__init__.py | 7 | |
| LOW | …es/autogen-studio/autogenstudio/web/auth/authroutes.py | 4 | |
| LOW | …es/autogen-studio/autogenstudio/web/auth/authroutes.py | 5 | |
| LOW | …ges/autogen-studio/autogenstudio/web/auth/providers.py | 10 | |
| 431 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …ang_hello_python_agent/protos/agent_events_pb2_grpc.py | 0 | client and server classes corresponding to protobuf-defined services. |
| HIGH | …togen-core/tests/protos/serialization_test_pb2_grpc.py | 0 | client and server classes corresponding to protobuf-defined services. |
| HIGH | …utogen-ext/tests/protos/serialization_test_pb2_grpc.py | 0 | client and server classes corresponding to protobuf-defined services. |
| HIGH | …utogen_ext/runtimes/grpc/protos/cloudevent_pb2_grpc.py | 0 | client and server classes corresponding to protobuf-defined services. |
| HIGH | …ogen_ext/runtimes/grpc/protos/agent_worker_pb2_grpc.py | 0 | client and server classes corresponding to protobuf-defined services. |
| HIGH | …ang_hello_python_agent/protos/agent_events_pb2_grpc.py | 0 | client and server classes corresponding to protobuf-defined services. |
| HIGH | python/samples/task_centric_memory/eval_retrieval.py | 0 | runs the code example with the necessary components. |
| HIGH | python/samples/task_centric_memory/eval_teachability.py | 0 | runs the code example with the necessary components. |
| HIGH | …thon/samples/task_centric_memory/eval_self_teaching.py | 0 | runs the code example with the necessary components. |
| HIGH | …ask_centric_memory/eval_learning_from_demonstration.py | 0 | runs the code example with the necessary components. |
| HIGH | …thon/packages/autogen-ext/tests/test_azure_ai_agent.py | 0 | returns all text message contents in the messages. :rtype: list[faketextcontent] |
| HIGH | …thon/packages/autogen-ext/tests/test_azure_ai_agent.py | 0 | returns all text message contents in the messages. :rtype: list[faketextcontent] |
| HIGH | …thon/packages/autogen-ext/tests/test_azure_ai_agent.py | 0 | returns all text message contents in the messages. :rtype: list[faketextcontent] |
| HIGH | …thon/packages/autogen-ext/tests/test_azure_ai_agent.py | 0 | returns all text message contents in the messages. :rtype: list[faketextcontent] |
| HIGH | …packages/autogen-ext/tests/memory/test_redis_memory.py | 0 | test updating model context with retrieved memories. |
| HIGH | python/packages/autogen-ext/tests/memory/test_mem0.py | 0 | test updating model context with retrieved memories. |
| HIGH | …ackages/autogen-ext/tests/memory/test_chroma_memory.py | 0 | test updating model context with retrieved memories. |
| HIGH | …s/autogen-ext/tests/models/test_openai_model_client.py | 0 | test tool_choice parameter with a specific tool using mocks. |
| HIGH | …autogen-ext/tests/models/test_azure_ai_model_client.py | 0 | test tool_choice parameter with a specific tool using mocks. |
| HIGH | …utogen-ext/tests/models/test_anthropic_model_client.py | 0 | test tool_choice parameter with a specific tool using mocks. |
| HIGH | …s/autogen-ext/tests/models/test_openai_model_client.py | 0 | test tool_choice parameter with 'auto' setting using mocks. |
| HIGH | …autogen-ext/tests/models/test_azure_ai_model_client.py | 0 | test tool_choice parameter with 'auto' setting using mocks. |
| HIGH | …utogen-ext/tests/models/test_anthropic_model_client.py | 0 | test tool_choice parameter with 'auto' setting using mocks. |
| HIGH | …gen-ext/tests/task_centric_memory/test_teachability.py | 0 | tests memory using the components specified in the config file. by default, mode is "replay", which uses a pre-recorded |
| HIGH | …ask_centric_memory/test_learning_from_demonstration.py | 0 | tests memory using the components specified in the config file. by default, mode is "replay", which uses a pre-recorded |
| HIGH | …en-ext/tests/task_centric_memory/test_self_teaching.py | 0 | tests memory using the components specified in the config file. by default, mode is "replay", which uses a pre-recorded |
| HIGH | …ogen_ext/runtimes/grpc/protos/agent_worker_pb2_grpc.py | 0 | missing associated documentation comment in .proto file. |
| HIGH | …ogen_ext/runtimes/grpc/protos/agent_worker_pb2_grpc.py | 0 | missing associated documentation comment in .proto file. |
| HIGH | …ogen_ext/runtimes/grpc/protos/agent_worker_pb2_grpc.py | 0 | missing associated documentation comment in .proto file. |
| HIGH | …ogen_ext/runtimes/grpc/protos/agent_worker_pb2_grpc.py | 0 | missing associated documentation comment in .proto file. |
| HIGH | …ogen_ext/runtimes/grpc/protos/agent_worker_pb2_grpc.py | 0 | missing associated documentation comment in .proto file. |
| HIGH | …ogen_ext/runtimes/grpc/protos/agent_worker_pb2_grpc.py | 0 | missing associated documentation comment in .proto file. |
| HIGH | …ogen_ext/runtimes/grpc/protos/agent_worker_pb2_grpc.py | 0 | missing associated documentation comment in .proto file. |
| HIGH | …ogen_ext/runtimes/grpc/protos/agent_worker_pb2_grpc.py | 0 | missing associated documentation comment in .proto file. |
| HIGH | …ogen_ext/runtimes/grpc/protos/agent_worker_pb2_grpc.py | 0 | missing associated documentation comment in .proto file. |
| HIGH | …ext/src/autogen_ext/agents/file_surfer/_file_surfer.py | 0 | ensure that the messages are compatible with the underlying client, by removing images if needed. |
| HIGH | …tchat/src/autogen_agentchat/agents/_assistant_agent.py | 0 | ensure that the messages are compatible with the underlying client, by removing images if needed. |
| HIGH | …t/src/autogen_agentchat/agents/_code_executor_agent.py | 0 | ensure that the messages are compatible with the underlying client, by removing images if needed. |
| HIGH | …group_chat/_magentic_one/_magentic_one_orchestrator.py | 0 | ensure that the messages are compatible with the underlying client, by removing images if needed. |
| HIGH | …n-ext/src/autogen_ext/models/azure/_azure_ai_client.py | 0 | llms sometimes ask functions while ignoring their own format requirements, this function should be used to replace inval |
| HIGH | …n_ext/models/llama_cpp/_llama_cpp_completion_client.py | 0 | llms sometimes ask functions while ignoring their own format requirements, this function should be used to replace inval |
| HIGH | …en-ext/src/autogen_ext/models/ollama/_ollama_client.py | 0 | llms sometimes ask functions while ignoring their own format requirements, this function should be used to replace inval |
| HIGH | …en-ext/src/autogen_ext/models/openai/_openai_client.py | 0 | llms sometimes ask functions while ignoring their own format requirements, this function should be used to replace inval |
| HIGH | …n-ext/src/autogen_ext/models/azure/_azure_ai_client.py | 0 | ensure that configured names are valid, raises valueerror if not. for munging llm responses use _normalize_name to ensur |
| HIGH | …n_ext/models/llama_cpp/_llama_cpp_completion_client.py | 0 | ensure that configured names are valid, raises valueerror if not. for munging llm responses use _normalize_name to ensur |
| HIGH | …en-ext/src/autogen_ext/models/ollama/_ollama_client.py | 0 | ensure that configured names are valid, raises valueerror if not. for munging llm responses use _normalize_name to ensur |
| HIGH | …es/autogen-ext/src/autogen_ext/models/openai/_utils.py | 0 | ensure that configured names are valid, raises valueerror if not. for munging llm responses use _normalize_name to ensur |
| HIGH | python/packages/autogen-agentchat/tests/test_agent.py | 0 | test the serialization and deserialization of the message context on the assistantagent. |
| HIGH | python/packages/autogen-agentchat/tests/test_agent.py | 0 | test the serialization and deserialization of the message context on the assistantagent. |
| HIGH | python/packages/autogen-agentchat/tests/test_agent.py | 0 | test the serialization and deserialization of the message context on the assistantagent. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …cs/src/user-guide/core-user-guide/framework/logging.md | 66 | except Exception: |
| LOW | …thon/samples/core_streaming_handoffs_fastapi/README.md | 132 | except Exception as e: |
| MEDIUM | python/samples/core_streaming_handoffs_fastapi/app.py | 239 | print(f"Error decoding JSON from {chat_history_file}. Starting with empty history.") |
| LOW | python/samples/core_streaming_handoffs_fastapi/app.py | 244 | except Exception as e: |
| MEDIUM | python/samples/core_streaming_handoffs_fastapi/app.py | 245 | print(f"Error loading chat history for {conversation_id}: {e}") |
| LOW | python/samples/agentchat_fastapi/app_team.py | 91 | except Exception as e: |
| LOW | python/samples/agentchat_fastapi/app_team.py | 142 | except Exception as e: |
| LOW | python/samples/agentchat_fastapi/app_team.py | 161 | except Exception as send_error: |
| LOW | python/samples/agentchat_fastapi/app_team.py | 167 | except Exception as e: |
| LOW | python/samples/agentchat_fastapi/app_team.py | 178 | except Exception: |
| MEDIUM | python/samples/agentchat_fastapi/app_team.py | 88 | def history() -> list[dict[str, Any]]: |
| LOW | python/samples/agentchat_fastapi/app_agent.py | 73 | except Exception as e: |
| LOW | python/samples/agentchat_fastapi/app_agent.py | 98 | except Exception as e: |
| MEDIUM | python/samples/agentchat_fastapi/app_agent.py | 70 | def history() -> list[dict[str, Any]]: |
| LOW | python/samples/gitty/src/gitty/_github.py | 27 | except Exception: |
| MEDIUM | python/samples/gitty/src/gitty/_github.py | 46 | print(f"Error fetching issue: {error_detail}") |
| MEDIUM | python/samples/gitty/src/gitty/_github.py | 51 | print("Error decoding gh cli output:", e) |
| MEDIUM | python/samples/gitty/src/gitty/_github.py | 67 | print("Error fetching issues:", result.stderr) |
| MEDIUM | python/samples/gitty/src/gitty/_github.py | 72 | print("Error decoding issues JSON:", e) |
| LOW | python/samples/gitty/src/gitty/_db.py | 48 | except Exception: |
| MEDIUM | python/samples/gitty/src/gitty/_db.py | 87 | print("Error fetching issues:", result.stderr) |
| MEDIUM | python/samples/gitty/src/gitty/_db.py | 92 | print("Error decoding issues JSON:", e) |
| LOW | python/samples/gitty/src/gitty/_db.py | 149 | except Exception: |
| LOW | python/samples/gitty/src/gitty/_gitty.py | 71 | except Exception as e: |
| LOW | python/samples/gitty/src/gitty/_gitty.py | 82 | except Exception as e: |
| MEDIUM | python/samples/gitty/src/gitty/_config.py | 24 | print("Error: not a git repository.") |
| MEDIUM | python/samples/gitty/src/gitty/__main__.py | 16 | print("Error: OPENAI_API_KEY environment variable is not set.") |
| MEDIUM | …thon/samples/core_streaming_response_fastapi/README.md | 93 | print(f"Error: {e}") |
| LOW | python/samples/core_streaming_response_fastapi/app.py | 79 | except Exception as e: |
| MEDIUM | python/samples/agentchat_graphrag/app.py | 38 | print("Error: OPENAI_API_KEY environment variable is not set!") |
| LOW | python/samples/core_chainlit/SimpleAssistantAgent.py | 105 | except Exception as e: |
| LOW | python/packages/agbench/benchmarks/process_logs.py | 49 | except Exception as e: |
| LOW | …h/benchmarks/GAIA/Templates/ParallelAgents/scenario.py | 98 | except Exception: |
| LOW | …h/benchmarks/GAIA/Templates/ParallelAgents/scenario.py | 358 | except Exception as e: |
| MEDIUM | …hon/packages/agbench/src/agbench/remove_missing_cmd.py | 97 | print(f"Error: '{runlogs_path}' is not a valid directory.") |
| MEDIUM | …hon/packages/agbench/src/agbench/remove_missing_cmd.py | 119 | print(f"Error: '{runlogs_path}' is not a valid directory.") |
| LOW | …es/autogen-studio/autogenstudio/database/db_manager.py | 101 | except Exception as e: |
| LOW | …es/autogen-studio/autogenstudio/database/db_manager.py | 139 | except Exception as e: |
| LOW | …es/autogen-studio/autogenstudio/database/db_manager.py | 156 | except Exception as e: |
| LOW | …es/autogen-studio/autogenstudio/database/db_manager.py | 193 | except Exception as e: |
| LOW | …es/autogen-studio/autogenstudio/database/db_manager.py | 237 | except Exception as e: |
| LOW | …es/autogen-studio/autogenstudio/database/db_manager.py | 276 | except Exception as e: |
| LOW | …es/autogen-studio/autogenstudio/database/db_manager.py | 308 | except Exception as e: |
| LOW | …es/autogen-studio/autogenstudio/database/db_manager.py | 344 | except Exception as e: |
| LOW | …es/autogen-studio/autogenstudio/database/db_manager.py | 350 | except Exception as e: |
| LOW | …es/autogen-studio/autogenstudio/database/db_manager.py | 372 | except Exception as e: |
| LOW | …utogen-studio/autogenstudio/database/schema_manager.py | 68 | except Exception as e: |
| LOW | …utogen-studio/autogenstudio/database/schema_manager.py | 136 | except Exception as e: |
| LOW | …utogen-studio/autogenstudio/database/schema_manager.py | 256 | except Exception as e: |
| LOW | …utogen-studio/autogenstudio/database/schema_manager.py | 308 | except Exception as e: |
| LOW | …utogen-studio/autogenstudio/database/schema_manager.py | 413 | except Exception as e: |
| LOW | …utogen-studio/autogenstudio/database/schema_manager.py | 433 | except Exception as e: |
| LOW | …utogen-studio/autogenstudio/database/schema_manager.py | 474 | except Exception as e: |
| LOW | …utogen-studio/autogenstudio/database/schema_manager.py | 555 | except Exception as e: |
| LOW | …utogen-studio/autogenstudio/teammanager/teammanager.py | 74 | except Exception as e: |
| LOW | …thon/packages/autogen-studio/autogenstudio/web/deps.py | 44 | except Exception as e: |
| LOW | …thon/packages/autogen-studio/autogenstudio/web/deps.py | 108 | except Exception as e: |
| LOW | …thon/packages/autogen-studio/autogenstudio/web/deps.py | 170 | except Exception as e: |
| LOW | …thon/packages/autogen-studio/autogenstudio/web/deps.py | 186 | except Exception as e: |
| LOW | …thon/packages/autogen-studio/autogenstudio/web/deps.py | 200 | except Exception as e: |
| 154 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | python/packages/agbench/src/agbench/run_cmd.py | 20 | from azure.core.exceptions import ClientAuthenticationError |
| CRITICAL | …ackages/agbench/src/agbench/linter/coders/oai_coder.py | 54 | completion = self.client.beta.chat.completions.parse( |
| CRITICAL | …ackages/agbench/src/agbench/linter/coders/oai_coder.py | 159 | completion = self.client.beta.chat.completions.parse( |
| CRITICAL | …end/src/components/views/teambuilder/builder/store.tsx | 387 | teamNode.data.component.config.participants.push( |
| CRITICAL | …end/src/components/views/teambuilder/builder/store.tsx | 461 | participants: node.data.component.config.participants.map( |
| CRITICAL | …end/src/components/views/teambuilder/builder/store.tsx | 538 | teamNode.data.component.config.participants.filter( |
| CRITICAL | …s/autogen-ext/tests/tools/azure/test_ai_search_tool.py | 20 | from azure.core.exceptions import HttpResponseError, ResourceNotFoundError |
| CRITICAL | …/autogen-ext/src/autogen_ext/tools/azure/_ai_search.py | 25 | from azure.core.exceptions import HttpResponseError, ResourceNotFoundError |
| CRITICAL | …c/autogen_ext/agents/openai/_openai_assistant_agent.py | 345 | msgs: AsyncCursorPage[Message] = await self._client.beta.threads.messages.list( # type: ignore[reportDeprec |
| CRITICAL | …c/autogen_ext/agents/openai/_openai_assistant_agent.py | 419 | self._client.beta.threads.runs.create( # type: ignore[reportDeprecated] |
| CRITICAL | …c/autogen_ext/agents/openai/_openai_assistant_agent.py | 430 | self._client.beta.threads.runs.retrieve( # type: ignore[reportDeprecated] |
| CRITICAL | …c/autogen_ext/agents/openai/_openai_assistant_agent.py | 483 | self._client.beta.threads.runs.submit_tool_outputs( # type: ignore[reportDeprecated] |
| CRITICAL | …c/autogen_ext/agents/openai/_openai_assistant_agent.py | 500 | self._client.beta.threads.messages.list(thread_id=self._thread_id, order="desc", limit=1) # type: ignor |
| CRITICAL | …c/autogen_ext/agents/openai/_openai_assistant_agent.py | 538 | self._client.beta.threads.messages.create( # type: ignore[reportDeprecated] |
| CRITICAL | …c/autogen_ext/agents/openai/_openai_assistant_agent.py | 556 | self._client.beta.threads.messages.list(self._thread_id, after=after, order="asc", limit=100) # typ |
| CRITICAL | …c/autogen_ext/agents/openai/_openai_assistant_agent.py | 570 | self._client.beta.threads.messages.delete(message_id=msg_id, thread_id=self._thread_id) # type: ign |
| CRITICAL | …en-ext/src/autogen_ext/models/openai/_openai_client.py | 684 | self._client.beta.chat.completions.parse( |
| CRITICAL | …en-ext/src/autogen_ext/models/openai/_openai_client.py | 1118 | async with self._client.beta.chat.completions.stream( |
| CRITICAL | docs/dotnet/core/index.md | 89 | var autogenBackend = await Microsoft.AutoGen.RuntimeGateway.Grpc.Host.StartAsync(local: false, useGrpc: true).ConfigureA |
| CRITICAL | dotnet/samples/Hello/HelloAIAgents/Program.cs | 27 | var app = await Microsoft.AutoGen.Core.Grpc.AgentsApp.PublishMessageAsync("HelloAgents", new NewMessageReceived |
| CRITICAL | dotnet/samples/Hello/HelloAgentState/Program.cs | 12 | var app = await Microsoft.AutoGen.Core.Grpc.AgentsApp.PublishMessageAsync("HelloAgents", new NewMessageReceived |
| CRITICAL | dotnet/src/Microsoft.AutoGen/Core.Grpc/RpcExtensions.cs | 39 | var any = Google.Protobuf.WellKnownTypes.Any.Parser.ParseFrom(data); |
| CRITICAL | dotnet/src/Microsoft.AutoGen/AgentHost/Program.cs | 5 | var app = await Microsoft.AutoGen.RuntimeGateway.Grpc.Host.StartAsync(local: false, useGrpc: true).ConfigureAwait(false) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …_streaming_handoffs_fastapi/model_config_template.yaml | 1 | # Use Open AI with key |
| LOW | …_streaming_handoffs_fastapi/model_config_template.yaml | 21 | # azure_ad_token_provider: |
| LOW | …n/samples/agentchat_fastapi/model_config_template.yaml | 1 | # Use Open AI with key |
| LOW | …n/samples/agentchat_fastapi/model_config_template.yaml | 21 | # azure_ad_token_provider: |
| LOW | …core_async_human_in_the_loop/model_config_template.yml | 1 | # Use Open AI with key |
| LOW | …core_async_human_in_the_loop/model_config_template.yml | 21 | # azure_ad_token_provider: |
| LOW | …amples/agentchat_chess_game/model_config_template.yaml | 1 | # Use Open AI with key |
| LOW | …amples/agentchat_chess_game/model_config_template.yaml | 21 | # azure_endpoint: https://{your-custom-endpoint}.openai.azure.com/ |
| LOW | …_streaming_response_fastapi/model_config_template.yaml | 1 | # Use Open AI with key |
| LOW | …_streaming_response_fastapi/model_config_template.yaml | 21 | # azure_ad_token_provider: |
| LOW | …/samples/agentchat_graphrag/model_config_template.yaml | 1 | # Use Open AI with key |
| LOW | …/samples/agentchat_graphrag/model_config_template.yaml | 21 | # azure_ad_token_provider: |
| LOW | …thon/samples/core_chess_game/model_config_template.yml | 1 | # Use Open AI with key |
| LOW | …thon/samples/core_chess_game/model_config_template.yml | 21 | # azure_ad_token_provider: |
| LOW | python/samples/core_chainlit/model_config_template.yaml | 1 | # Use Open AI with key |
| LOW | python/samples/core_chainlit/model_config_template.yaml | 21 | # azure_ad_token_provider: |
| LOW | …/samples/agentchat_chainlit/model_config_template.yaml | 1 | # Use Open AI with key |
| LOW | …/samples/agentchat_chainlit/model_config_template.yaml | 21 | # azure_ad_token_provider: |
| LOW | python/packages/agbench/benchmarks/HumanEval/ENV.yaml | 1 | # ENV.yaml |
| LOW | python/packages/agbench/benchmarks/HumanEval/ENV.yaml | 21 | # config: |
| LOW | …thon/packages/agbench/benchmarks/HumanEval/config.yaml | 1 | # config.yaml |
| LOW | …thon/packages/agbench/benchmarks/HumanEval/config.yaml | 21 | # config: |
| LOW | python/packages/agbench/benchmarks/GAIA/ENV.yaml | 1 | # ENV.yaml |
| LOW | python/packages/agbench/benchmarks/GAIA/ENV.yaml | 21 | # config: |
| LOW | python/packages/agbench/benchmarks/GAIA/config.yaml | 1 | # config.yaml |
| LOW | python/packages/agbench/benchmarks/GAIA/config.yaml | 21 | # config: |
| LOW | …n/packages/autogen-studio/autogenstudio/eval/judges.py | 221 | # api_key="your-api-key" |
| LOW | …n/packages/autogen-studio/autogenstudio/eval/judges.py | 241 | # ), |
| LOW | …n/packages/autogen-studio/autogenstudio/eval/judges.py | 261 | # "messages": [{"content": "The capital of France is Paris.", "source": "model"}] |
| LOW | python/packages/autogen-studio/frontend/tsconfig.json | 21 | // "jsxImportSource": "", /* Specify module specifier used to import the JSX factory func |
| LOW | python/packages/autogen-studio/frontend/tsconfig.json | 41 | // "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */ |
| LOW | python/packages/autogen-studio/frontend/tsconfig.json | 61 | // "newLine": "crlf", /* Set the newline character for emitting files. */ |
| LOW | python/packages/autogen-studio/frontend/tsconfig.json | 81 | // "strictBindCallApply": true, /* Check that the arguments for `bind`, `call`, and `apply` met |
| LOW | …dio/frontend/src/components/views/settings/manager.tsx | 81 | // ), |
| LOW | …/frontend/src/components/views/settings/view/panel.tsx | 41 | // setLoading(true); |
| LOW | …-studio/frontend/src/components/views/gallery/types.ts | 1 | import { Gallery } from "../../types/datamodel"; |
| LOW | …teambuilder/builder/component-editor/fields/fields.tsx | 161 | } |
| LOW | …utogen-studio/frontend/src/components/views/mcp/api.ts | 601 | // ) { |
| LOW | …thon/packages/autogen-ext/tests/test_worker_runtime.py | 681 | assert agent.num_calls == 4 |
| LOW | …hon/packages/autogen-ext/tests/tools/test_mcp_actor.py | 181 | with pytest.raises(ValueError, match="uri is required for read_resource"): |
| LOW | …hon/packages/autogen-ext/tests/tools/test_mcp_actor.py | 201 | # # Give it a brief moment to queue the command |
| LOW | …hon/packages/autogen-ext/tests/tools/test_mcp_actor.py | 221 | # actor._command_queue = original_queue # type: ignore[reportPrivateUsage] |
| LOW | …hon/packages/autogen-ext/tests/tools/test_mcp_actor.py | 241 | # actor._actor_task = MagicMock() # type: ignore[reportPrivateUsage] |
| LOW | …hon/packages/autogen-ext/tests/tools/test_mcp_actor.py | 341 | mock_context = MagicMock(spec=RequestContext) |
| LOW | …hon/packages/autogen-ext/tests/tools/test_mcp_actor.py | 361 | # } |
| LOW | …hon/packages/autogen-ext/tests/tools/test_mcp_actor.py | 381 | # assert result.code == mcp_types.INVALID_PARAMS |
| LOW | …hon/packages/autogen-ext/tests/tools/test_mcp_actor.py | 921 | |
| LOW | …utogen-ext/tests/models/test_llama_cpp_model_client.py | 121 | |
| LOW | …utogen-ext/tests/models/test_llama_cpp_model_client.py | 221 | # repo_id="unsloth/phi-4-GGUF", filename="phi-4-Q2_K_L.gguf", n_gpu_layers=-1, seed=1337, n_ctx=5000 |
| LOW | …utogen-ext/tests/models/test_llama_cpp_model_client.py | 241 | # if not ((hasattr(torch.backends, "mps") and torch.backends.mps.is_available()) or torch.cuda.is_available()): |
| LOW | …utogen-ext/tests/models/test_llama_cpp_model_client.py | 261 | # reflect_on_tool_use=True, # Reflect on tool results |
| LOW | …n-ext/src/autogen_ext/runtimes/grpc/_worker_runtime.py | 201 | |
| LOW | …gen_ext/runtimes/grpc/_worker_runtime_host_servicer.py | 361 | # context: grpc.aio.ServicerContext[agent_worker_pb2.AgentId, agent_worker_pb2.SaveStateResponse], |
| LOW | …gen-ext/src/autogen_ext/agents/openai/_openai_agent.py | 341 | # { |
| LOW | .devcontainer/docker-compose.yml | 21 | # - SYS_PTRACE |
| LOW | dotnet/dotnet-install.sh | 1 | #!/usr/bin/env bash |
| LOW | …ests/Infrastructure/DistributedApplicationExtension.cs | 201 | /// <summary> |
| LOW | …ests/Infrastructure/DistributedApplicationExtension.cs | 241 | #pragma warning restore ASPIREHOSTINGPYTHON001 |
| LOW | …en.RuntimeGateway.Grpc.Tests/Helpers/AgentsMetadata.cs | 1 | // Copyright (c) Microsoft Corporation. All rights reserved. |
| LOW | …teway.Grpc.Tests/Helpers/Grpc/TestAsyncStreamReader.cs | 1 | #pragma warning disable IDE0073 |
| 132 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …ogen-studio/autogenstudio/gallery/tools/bing_search.py | 24 | Perform a Bing search using the Bing Web Search API. Args: query: Search query string num_resu |
| HIGH | …en-studio/autogenstudio/gallery/tools/fetch_webpage.py | 14 | Fetch a webpage and convert it to markdown format. Args: url: The URL of the webpage to fetch inclu |
| HIGH | …ore/src/autogen_core/_single_threaded_agent_runtime.py | 289 | Create OpenTelemetry attributes for the given agent and message. Args: sender_agent (Agent, optiona |
| HIGH | …ackages/autogen-core/src/autogen_core/_subscription.py | 50 | Map a topic_id to an agent. Should only be called if `is_match` returns True for the given topic_id. Args: |
| HIGH | …kages/autogen-core/src/autogen_core/_function_utils.py | 221 | Get a JSON schema for a function as defined by the OpenAI API Args: f: The function to get the JSON schema |
| HIGH | python/packages/autogen-core/src/autogen_core/_agent.py | 34 | Message handler for the agent. This should only be called by the runtime, not by other agents. Args: |
| HIGH | …ges/autogen-core/src/autogen_core/_component_config.py | 208 | Load a component from a model. Intended to be used with the return type of :py:meth:`autogen_core.ComponentConfig.dump_c |
| HIGH | …ckages/autogen-core/src/autogen_core/_agent_runtime.py | 31 | Send a message to an agent and get a response. Args: message (Any): The message to send. |
| HIGH | …ckages/autogen-core/src/autogen_core/_agent_runtime.py | 189 | Try to get the underlying agent instance by name and namespace. This is generally discouraged (hence the long name), but |
| HIGH | …utogen-core/src/autogen_core/tool_agent/_tool_agent.py | 64 | Handles a `FunctionCall` message by executing the requested tool with the provided arguments. Args: |
| HIGH | …togen-core/src/autogen_core/utils/_json_to_pydantic.py | 378 | Convert a JSON Schema dictionary to a fully-typed Pydantic model. This function handles schema translation and |
| HIGH | …s/autogen-core/src/autogen_core/code_executor/_base.py | 57 | Execute code blocks and return the result. This method should be implemented by the code executor. Arg |
| HIGH | …kages/autogen-ext/examples/mcp_session_host_example.py | 48 | Load a ChatCompletionClient from a JSON or YAML config file. Args: config_path: Path to the JSON or YAML co |
| HIGH | …/autogen-ext/src/autogen_ext/tools/azure/_ai_search.py | 359 | Process credential to ensure it's the correct type for async SearchClient. Converts dictionary credentials with |
| HIGH | …/autogen-ext/src/autogen_ext/tools/azure/_ai_search.py | 418 | Execute a search against the Azure AI Search index. Args: args: Search query text or SearchQuery ob |
| HIGH | …/autogen-ext/src/autogen_ext/tools/azure/_ai_search.py | 896 | Create a tool for pure vector/similarity search. This factory method creates an AzureAISearchTool optimized for |
| HIGH | …/autogen-ext/src/autogen_ext/tools/azure/_ai_search.py | 1028 | Create a tool that combines vector and text search capabilities. This factory method creates an AzureAISearchTo |
| HIGH | …ackages/autogen-ext/src/autogen_ext/tools/mcp/_base.py | 58 | Run the MCP tool with the provided arguments. Args: args (BaseModel): The arguments to pas |
| HIGH | …ackages/autogen-ext/src/autogen_ext/tools/mcp/_base.py | 133 | Create an instance of McpToolAdapter from server parameters and tool name. Args: server_pa |
| HIGH | …ages/autogen-ext/src/autogen_ext/tools/mcp/_factory.py | 14 | Creates a list of MCP tool adapters that can be used with AutoGen agents. .. warning:: Only connect to tru |
| HIGH | …es/autogen-ext/src/autogen_ext/tools/mcp/_workbench.py | 48 | A workbench that wraps an MCP server and provides an interface to list and call tools provided by the server. . |
| HIGH | …togen-ext/src/autogen_ext/tools/mcp/_host/_sampling.py | 28 | Convert MCP content types to AutoGen content types. Handles text and image content conversion, with vision model va |
| HIGH | …togen-ext/src/autogen_ext/tools/mcp/_host/_sampling.py | 59 | Convert MCP sampling messages to AutoGen LLM messages. Args: message: MCP sampling message with role and co |
| HIGH | …s/autogen-ext/src/autogen_ext/tools/http/_http_tool.py | 197 | Execute the HTTP tool with the given arguments. Args: args: The validated input arguments |
| HIGH | …en-ext/src/autogen_ext/agents/azure/_azure_ai_agent.py | 543 | Execute a tool call requested by the Azure AI agent. Args: tool_call (FunctionCall): The f |
| HIGH | …en-ext/src/autogen_ext/agents/azure/_azure_ai_agent.py | 572 | Upload files to the Azure AI Assistant API. This method handles uploading one or more files to be used |
| HIGH | …en-ext/src/autogen_ext/agents/azure/_azure_ai_agent.py | 627 | Process incoming messages and return a response from the Azure AI agent. This method is the primary en |
| HIGH | …en-ext/src/autogen_ext/agents/azure/_azure_ai_agent.py | 658 | Process incoming messages and yield streaming responses from the Azure AI agent. This method handles t |
| HIGH | …en_ext/models/replay/_replay_chat_completion_client.py | 33 | A mock chat completion client that replays predefined responses using an index-based approach. This class simu |
| HIGH | …es/autogen-agentchat/src/autogen_agentchat/messages.py | 269 | :meta private: A component that creates structured chat messages from Pydantic models or JSON schemas. This co |
| HIGH | …tchat/src/autogen_agentchat/agents/_assistant_agent.py | 91 | An agent that provides assistance with tool use. The :meth:`on_messages` returns a :class:`~autogen_agentchat.base.R |
| HIGH | …en_agentchat/teams/_group_chat/_selector_group_chat.py | 363 | A group chat team that have participants takes turn to publish a message to all, using a ChatCompletion model to sel |
| HIGH | …agentchat/teams/_group_chat/_round_robin_group_chat.py | 97 | A team that runs a group chat with participants taking turns in a round-robin fashion to publish a message to all. |
| HIGH | …/_group_chat/_magentic_one/_magentic_one_group_chat.py | 37 | A team that runs a group chat with participants managed by the MagenticOneOrchestrator. The orchestrator handles th |
| HIGH | …n_agentchat/teams/_group_chat/_graph/_graph_builder.py | 120 | Add a directed edge from source to target, optionally with a condition. Args: source: Source node ( |
| HIGH | …ntchat/teams/_group_chat/_graph/_digraph_group_chat.py | 552 | A team that runs a group chat following a Directed Graph execution pattern. .. warning:: This is an experi |
| HIGH | …n-agentchat/src/autogen_agentchat/base/_termination.py | 60 | Check if the conversation should be terminated based on the messages received since the last time the condition |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | python/check_md_code_blocks.py | 17 | |
| LOW | python/check_md_code_blocks.py | 38 | |
| LOW | python/docs/src/generate_api_reference.py | 48 | |
| LOW | python/docs/src/generate_api_reference.py | 65 | |
| LOW | python/docs/src/generate_api_reference.py | 145 | |
| LOW | python/docs/src/conf.py | 186 | |
| LOW | python/docs/src/_extension/code_lint.py | 52 | |
| LOW | …/samples/core_streaming_handoffs_fastapi/agent_base.py | 48 | |
| LOW | python/samples/core_streaming_handoffs_fastapi/app.py | 194 | |
| LOW | python/samples/agentchat_fastapi/app_team.py | 96 | |
| LOW | python/samples/gitty/src/gitty/__main__.py | 42 | |
| LOW | python/samples/core_chainlit/app_team.py | 160 | |
| LOW | python/samples/agentchat_chainlit/app_team.py | 68 | |
| LOW | …thon/samples/agentchat_chainlit/app_team_user_proxy.py | 108 | |
| LOW | python/packages/agbench/benchmarks/process_logs.py | 84 | |
| LOW | …ges/agbench/benchmarks/GAIA/Scripts/custom_tabulate.py | 36 | |
| LOW | …h/benchmarks/GAIA/Templates/ParallelAgents/scenario.py | 154 | |
| LOW | …h/benchmarks/GAIA/Templates/ParallelAgents/scenario.py | 70 | |
| LOW | …enchmarks/GAIA/Templates/SelectorGroupChat/scenario.py | 25 | |
| LOW | …enchmarks/GAIA/Templates/SelectorGroupChat/scenario.py | 144 | |
| LOW | …hon/packages/agbench/src/agbench/remove_missing_cmd.py | 31 | |
| LOW | python/packages/agbench/src/agbench/tabulate_cmd.py | 68 | |
| LOW | python/packages/agbench/src/agbench/run_cmd.py | 59 | |
| LOW | python/packages/agbench/src/agbench/run_cmd.py | 181 | |
| LOW | python/packages/agbench/src/agbench/run_cmd.py | 269 | |
| LOW | python/packages/agbench/src/agbench/run_cmd.py | 342 | |
| LOW | python/packages/agbench/src/agbench/run_cmd.py | 869 | |
| LOW | python/packages/agbench/src/agbench/run_cmd.py | 353 | |
| LOW | python/packages/agbench/src/agbench/run_cmd.py | 364 | |
| LOW | …es/autogen-studio/autogenstudio/database/db_manager.py | 108 | |
| LOW | …es/autogen-studio/autogenstudio/database/db_manager.py | 165 | |
| LOW | …es/autogen-studio/autogenstudio/database/db_manager.py | 245 | |
| LOW | …utogen-studio/autogenstudio/database/schema_manager.py | 47 | |
| LOW | …utogen-studio/autogenstudio/teammanager/teammanager.py | 109 | |
| LOW | …utogen-studio/autogenstudio/teammanager/teammanager.py | 154 | |
| LOW | …n/packages/autogen-studio/autogenstudio/lite/studio.py | 52 | |
| LOW | …thon/packages/autogen-studio/autogenstudio/web/deps.py | 261 | |
| LOW | …ckages/autogen-studio/autogenstudio/web/auth/wsauth.py | 17 | |
| LOW | …kages/autogen-studio/autogenstudio/web/auth/manager.py | 28 | |
| LOW | …es/autogen-studio/autogenstudio/web/auth/middleware.py | 88 | |
| LOW | …utogen-studio/autogenstudio/web/managers/connection.py | 85 | |
| LOW | …utogen-studio/autogenstudio/web/managers/connection.py | 282 | |
| LOW | …utogen-studio/autogenstudio/web/managers/connection.py | 344 | |
| LOW | …es/autogen-studio/autogenstudio/web/routes/sessions.py | 66 | |
| LOW | …packages/autogen-studio/autogenstudio/web/routes/ws.py | 21 | |
| LOW | …ackages/autogen-studio/autogenstudio/web/routes/mcp.py | 134 | |
| LOW | …ogen-studio/autogenstudio/gallery/tools/bing_search.py | 13 | |
| LOW | …en-studio/autogenstudio/gallery/tools/google_search.py | 12 | |
| LOW | …togen-studio/autogenstudio/gallery/tools/calculator.py | 4 | |
| LOW | …n/packages/autogen-studio/autogenstudio/utils/utils.py | 10 | |
| LOW | …on/packages/autogen-studio/autogenstudio/mcp/client.py | 63 | |
| LOW | …/packages/autogen-studio/autogenstudio/mcp/wsbridge.py | 137 | |
| LOW | …hon/packages/autogen-studio/autogenstudio/mcp/utils.py | 42 | |
| LOW | …n/packages/autogen-studio/autogenstudio/eval/judges.py | 174 | |
| LOW | …ages/autogen-studio/autogenstudio/eval/orchestrator.py | 120 | |
| LOW | …ages/autogen-studio/autogenstudio/eval/orchestrator.py | 202 | |
| LOW | …ages/autogen-studio/autogenstudio/eval/orchestrator.py | 520 | |
| LOW | …ages/autogen-studio/autogenstudio/eval/orchestrator.py | 697 | |
| LOW | …/packages/autogen-studio/autogenstudio/eval/runners.py | 157 | |
| LOW | …-studio/autogenstudio/validation/validation_service.py | 114 | |
| 118 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …autogen-ext/tests/tools/azure/test_ai_search_config.py | 14 | # ===================================== |
| MEDIUM | …autogen-ext/tests/tools/azure/test_ai_search_config.py | 16 | # ===================================== |
| MEDIUM | …autogen-ext/tests/tools/azure/test_ai_search_config.py | 93 | # ===================================== |
| MEDIUM | …autogen-ext/tests/tools/azure/test_ai_search_config.py | 95 | # ===================================== |
| MEDIUM | …autogen-ext/tests/tools/azure/test_ai_search_config.py | 173 | # ===================================== |
| MEDIUM | …autogen-ext/tests/tools/azure/test_ai_search_config.py | 175 | # ===================================== |
| MEDIUM | …autogen-ext/tests/tools/azure/test_ai_search_config.py | 217 | # ===================================== |
| MEDIUM | …autogen-ext/tests/tools/azure/test_ai_search_config.py | 219 | # ===================================== |
| MEDIUM | …es/autogen-ext/tests/memory/test_text_canvas_memory.py | 13 | # ── Fixtures ───────────────────────────────────────────────────────────────────── |
| MEDIUM | …es/autogen-ext/tests/memory/test_text_canvas_memory.py | 39 | # ── Tests ──────────────────────────────────────────────────────────────────────── |
| MEDIUM | …ackages/autogen-ext/tests/memory/test_chroma_memory.py | 277 | # ============================================================================ |
| MEDIUM | …ackages/autogen-ext/tests/memory/test_chroma_memory.py | 279 | # ============================================================================ |
| MEDIUM | …ogen-ext/src/autogen_ext/memory/canvas/_text_canvas.py | 39 | # ---------------------------------------------------------------------------------- |
| MEDIUM | …ogen-ext/src/autogen_ext/memory/canvas/_text_canvas.py | 41 | # ---------------------------------------------------------------------------------- |
| MEDIUM | …ogen-ext/src/autogen_ext/memory/canvas/_text_canvas.py | 49 | # ---------------------------------------------------------------------------------- |
| MEDIUM | …ogen-ext/src/autogen_ext/memory/canvas/_text_canvas.py | 51 | # ---------------------------------------------------------------------------------- |
| MEDIUM | …ogen-ext/src/autogen_ext/memory/canvas/_text_canvas.py | 61 | # ---------------------------------------------------------------------------------- |
| MEDIUM | …ogen-ext/src/autogen_ext/memory/canvas/_text_canvas.py | 63 | # ---------------------------------------------------------------------------------- |
| MEDIUM | …ogen-ext/src/autogen_ext/memory/canvas/_text_canvas.py | 95 | # ---------------------------------------------------------------------------------- |
| MEDIUM | …ogen-ext/src/autogen_ext/memory/canvas/_text_canvas.py | 97 | # ---------------------------------------------------------------------------------- |
| MEDIUM | …ogen-ext/src/autogen_ext/memory/canvas/_text_canvas.py | 181 | # ---------------------------------------------------------------------------------- |
| MEDIUM | …ogen-ext/src/autogen_ext/memory/canvas/_text_canvas.py | 183 | # ---------------------------------------------------------------------------------- |
| MEDIUM | …utogen_ext/agents/web_surfer/_multimodal_web_surfer.py | 606 | # =================================================== |
| MEDIUM | …/src/autogen_agentchat/agents/_message_filter_agent.py | 10 | # ------------------------------ |
| MEDIUM | …/src/autogen_agentchat/agents/_message_filter_agent.py | 12 | # ------------------------------ |
| MEDIUM | …/src/autogen_agentchat/agents/_message_filter_agent.py | 25 | # ------------------------------ |
| MEDIUM | …/src/autogen_agentchat/agents/_message_filter_agent.py | 27 | # ------------------------------ |
| MEDIUM | …/src/autogen_agentchat/agents/_message_filter_agent.py | 36 | # ------------------------------ |
| MEDIUM | …/src/autogen_agentchat/agents/_message_filter_agent.py | 38 | # ------------------------------ |
| MEDIUM | …/Microsoft.AutoGen/AgentChat/Abstractions/ChatAgent.cs | 52 | # ================================================ |
| MEDIUM | …/Microsoft.AutoGen/AgentChat/Abstractions/ChatAgent.cs | 63 | # ================================================ |
| MEDIUM | …/Microsoft.AutoGen/AgentChat/Abstractions/ChatAgent.cs | 77 | # ================================================ |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | python/run_task_in_pkgs_if_exist.py | 44 | # Check if there is an include too |
| LOW | python/docs/redirects/redirects.py | 44 | # Read file |
| LOW | python/docs/src/generate_api_reference.py | 55 | # Check if this package is in our documented packages list |
| LOW | python/docs/src/conf.py | 207 | # Print the output for visibility |
| LOW | python/samples/core_streaming_handoffs_fastapi/app.py | 229 | if content: # Check if file is not empty |
| LOW | python/samples/agentchat_chess_game/main.py | 86 | # Check if the response is a valid UC move. |
| LOW | python/samples/agentchat_chess_game/main.py | 92 | # Check if the move is legal. |
| LOW | python/samples/agentchat_chess_game/main.py | 113 | # Check if the game is over. |
| LOW | python/samples/agentchat_graphrag/app.py | 35 | # Check if OPENAI_API_KEY is set |
| LOW | python/packages/agbench/benchmarks/process_logs.py | 156 | # Check if the agent stalled |
| LOW | …ges/agbench/benchmarks/HumanEval/Scripts/init_tasks.py | 70 | # Read the file, line by line, populating a list of parsed JSON objects |
| LOW | python/packages/agbench/src/agbench/run_cmd.py | 660 | # Check if we need to terminate |
| LOW | …n/packages/autogen-studio/autogenstudio/lite/studio.py | 177 | # Check if already running |
| LOW | …thon/packages/autogen-studio/autogenstudio/web/deps.py | 94 | # Check if auth is explicitly disabled via environment variable |
| LOW | …hon/packages/autogen-studio/autogenstudio/web/serve.py | 18 | # Check if team_file_path is set |
| LOW | …kages/autogen-studio/autogenstudio/web/auth/manager.py | 63 | # Check if path should be excluded from auth |
| LOW | …ages/autogen-studio/autogenstudio/eval/orchestrator.py | 319 | # Check if run is already active |
| LOW | …ages/autogen-studio/autogenstudio/eval/orchestrator.py | 503 | # Check if run is active |
| LOW | …dio/autogenstudio/validation/component_test_service.py | 58 | # Check if we got a valid response |
| LOW | …hon/packages/autogen-studio/tests/test_team_manager.py | 91 | # Check if at least one team has expected label |
| LOW | python/packages/autogen-core/tests/test_runtime.py | 192 | # Check if logger has the exception. |
| LOW | …autogen-core/src/autogen_core/_runtime_impl_helpers.py | 43 | # Check if the subscription already exists |
| LOW | …autogen-core/src/autogen_core/_runtime_impl_helpers.py | 51 | # Check if the subscription exists |
| LOW | …togen-core/src/autogen_core/tools/_static_workbench.py | 101 | # Check if the name is an override name and map it back to the original |
| LOW | …/autogen-core/src/autogen_core/tools/_function_tool.py | 78 | # Output the result as a formatted string. |
| LOW | …hon/packages/autogen-ext/tests/tools/test_mcp_tools.py | 629 | # Check if GITHUB_TOKEN is set. |
| LOW | …utogen-ext/tests/tools/graphrag/test_graphrag_tools.py | 192 | # Check if the log contains the expected message |
| LOW | …utogen-ext/tests/tools/graphrag/test_graphrag_tools.py | 256 | # Check if the log contains the expected message |
| LOW | …s/autogen-ext/tests/models/test_openai_model_client.py | 2152 | # Check if the model is running locally. |
| LOW | …ext/tests/models/test_ollama_chat_completion_client.py | 480 | # Check if the model is running locally. |
| LOW | …ts/code_executors/test_docker_jupyter_code_executor.py | 123 | # Check if the file was created |
| LOW | …ode_executors/test_docker_commandline_code_executor.py | 149 | # Check if the file was not created |
| LOW | …tests/code_executors/test_commandline_code_executor.py | 203 | # Check if the file is not created. |
| LOW | …tests/code_executors/test_commandline_code_executor.py | 305 | # Check if the expected venv has been used |
| LOW | …tests/code_executors/test_commandline_code_executor.py | 361 | # Check if the expected venv has been used |
| LOW | …/experimental/task_centric_memory/memory_controller.py | 175 | # Check if the response is correct. |
| LOW | …/experimental/task_centric_memory/utils/page_logger.py | 411 | # Check if it's a method by looking for 'self' or 'cls' in f_locals |
| LOW | …es/autogen-ext/src/autogen_ext/tools/mcp/_workbench.py | 332 | # Check if the name is an override name and map it back to the original |
| LOW | …kages/autogen-ext/src/autogen_ext/memory/mem0/_mem0.py | 250 | # Check if operation is cancelled |
| LOW | …kages/autogen-ext/src/autogen_ext/memory/mem0/_mem0.py | 290 | # Check if operation is cancelled |
| LOW | …togen_ext/agents/file_surfer/_markdown_file_browser.py | 82 | # Check if the path is within the base path |
| LOW | …en-ext/src/autogen_ext/agents/azure/_azure_ai_agent.py | 1027 | # Check if file_search is enabled in tools |
| LOW | …utogen_ext/agents/web_surfer/_multimodal_web_surfer.py | 654 | # Check if the argument starts with a known protocol |
| LOW | …c/autogen_ext/agents/openai/_openai_assistant_agent.py | 631 | # Check if file_search is enabled in tools |
| LOW | …/models/semantic_kernel/_sk_chat_completion_adapter.py | 311 | # Check if it's a function-call style message |
| LOW | …/models/semantic_kernel/_sk_chat_completion_adapter.py | 668 | # Check if the model signaled tool_calls finished |
| LOW | …/src/autogen_ext/models/anthropic/_anthropic_client.py | 530 | # Check if thinking is specified in extra_create_args (priority) |
| LOW | …/src/autogen_ext/models/anthropic/_anthropic_client.py | 533 | # Check if thinking is specified in base create_args |
| LOW | …/src/autogen_ext/models/anthropic/_anthropic_client.py | 356 | # Check if the tool has a valid name |
| LOW | …/src/autogen_ext/models/anthropic/_anthropic_client.py | 704 | # Check if the response includes tool uses |
| LOW | …/src/autogen_ext/models/anthropic/_anthropic_client.py | 844 | # Check if any message is a tool result |
| LOW | …n_ext/models/llama_cpp/_llama_cpp_completion_client.py | 108 | # Check if all tools have valid names. |
| LOW | …en-ext/src/autogen_ext/models/ollama/_ollama_client.py | 345 | # Check if all tools have valid names. |
| LOW | …en-ext/src/autogen_ext/models/openai/_openai_client.py | 268 | # Check if all tools have valid names. |
| LOW | …xt/src/autogen_ext/models/openai/_message_transform.py | 203 | # Check if name should be included in message |
| LOW | …/autogen-ext/src/autogen_ext/code_executors/_common.py | 163 | # Check if pwsh is available, otherwise fall back to powershell |
| LOW | …gen_ext/code_executors/docker/_docker_code_executor.py | 344 | # Check if there is a filename comment |
| LOW | …gen_ext/code_executors/docker/_docker_code_executor.py | 517 | # Check if the image exists |
| LOW | …gen_ext/code_executors/docker/_docker_code_executor.py | 530 | # Check if a container with the same name already exists and remove it |
| LOW | …gen_ext/code_executors/docker/_docker_code_executor.py | 562 | # Check if the container is running |
| 29 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …on/docs/src/user-guide/autogenstudio-user-guide/faq.md | 44 | api_key="your-api-key", # Optional if ANTHROPIC_API_KEY is set in environment |
| HIGH | …on/docs/src/user-guide/autogenstudio-user-guide/faq.md | 104 | "api_key": "your-api-key" |
| HIGH | python/samples/gitty/src/gitty/__main__.py | 18 | print(" export OPENAI_API_KEY='your-api-key'") |
| HIGH | python/samples/agentchat_graphrag/README.md | 43 | export OPENAI_API_KEY='your-api-key-here' |
| HIGH | python/samples/agentchat_graphrag/app.py | 39 | print("Please run: export OPENAI_API_KEY='your-api-key-here'") |
| HIGH | …ckages/autogen-studio/autogenstudio/gallery/builder.py | 546 | headers={"Authorization": "Bearer your-api-key", "Content-Type": "application/json"}, |
| HIGH | …n/packages/autogen-studio/autogenstudio/eval/judges.py | 221 | # api_key="your-api-key" |
| HIGH | …ckages/autogen-studio/autogenstudio/datamodel/types.py | 108 | model="gpt-4o-mini", api_key="your-api-key" |
| HIGH | …tend/src/components/views/gallery/default_gallery.json | 1158 | "Authorization": "Bearer your-api-key", |
| HIGH | …kages/autogen-ext/examples/mcp_session_host_example.py | 179 | "api_key": "your-api-key" |
| HIGH | …packages/autogen-ext/src/autogen_ext/tools/mcp/_sse.py | 63 | headers={"Authorization": "Bearer your-api-key", "Content-Type": "application/json"}, |
| HIGH | …ogen-ext/src/autogen_ext/tools/mcp/_streamable_http.py | 64 | headers={"Authorization": "Bearer your-api-key", "Content-Type": "application/json"}, |
| HIGH | …c/autogen_ext/agents/openai/_openai_assistant_agent.py | 145 | client = AsyncOpenAI(api_key="your-api-key", base_url="your-base-url") |
| HIGH | …/src/autogen_ext/models/anthropic/_anthropic_client.py | 1211 | api_key="your-api-key", # Optional if ANTHROPIC_API_KEY is set in environment |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …s/autogen-ext/tests/models/test_openai_model_client.py | 495 | # Step 1: Mock the Image class with only the 'image' attribute |
| LOW | …ask_centric_memory/sessions/self_teaching/session.json | 262 | "content": "### Step 1: Understanding the User Message\n\nThe user presents a classic logic puzzle often referred |
| LOW | …ask_centric_memory/sessions/self_teaching/session.json | 286 | "### Step 1: Understanding the User Message\n\nThe user presents a classic logic puzzle often referred to as t |
| LOW | …ask_centric_memory/sessions/self_teaching/session.json | 704 | "content": "### Step 1: Understanding the User Message\n\nThe user has presented a classic liar puzzle. The scenar |
| LOW | …ask_centric_memory/sessions/self_teaching/session.json | 728 | "### Step 1: Understanding the User Message\n\nThe user has presented a classic liar puzzle. The scenario invo |
| LOW | …en-ext/src/autogen_ext/models/openai/_openai_client.py | 1015 | # Because the usage chunk is not guaranteed to be the last chunk, we need to check if it is available. |
| LOW | …es/autogen-agentchat/tests/test_code_executor_agent.py | 217 | # Step 1: First code generation |
| LOW | …es/autogen-agentchat/tests/test_code_executor_agent.py | 224 | # Step 2: First code execution |
| LOW | …es/autogen-agentchat/tests/test_code_executor_agent.py | 231 | # Step 3: Retry generation with proposed correction |
| LOW | …es/autogen-agentchat/tests/test_code_executor_agent.py | 239 | # Step 4: Second retry code generation |
| LOW | …es/autogen-agentchat/tests/test_code_executor_agent.py | 246 | # Step 5: Second retry code execution |
| LOW | …es/autogen-agentchat/tests/test_code_executor_agent.py | 253 | # Step 6: Final response |
| LOW | …t/src/autogen_agentchat/agents/_code_executor_agent.py | 549 | # Step 1: Add new user/handoff messages to the model context |
| LOW | …t/src/autogen_agentchat/agents/_code_executor_agent.py | 555 | # Step 2: Run inference with the model context |
| LOW | …t/src/autogen_agentchat/agents/_code_executor_agent.py | 573 | # Step 3: [NEW] If the model produced a hidden "thought," yield it as an event |
| LOW | …t/src/autogen_agentchat/agents/_code_executor_agent.py | 579 | # Step 4: Add the assistant message to the model context (including thought if present) |
| LOW | …t/src/autogen_agentchat/agents/_code_executor_agent.py | 588 | # Step 5: Extract the code blocks from inferred text |
| LOW | …t/src/autogen_agentchat/agents/_code_executor_agent.py | 592 | # Step 6: Exit the loop if no code blocks found |
| LOW | …t/src/autogen_agentchat/agents/_code_executor_agent.py | 602 | # Step 7: Yield a CodeGenerationEvent |
| LOW | …t/src/autogen_agentchat/agents/_code_executor_agent.py | 612 | # Step 8: Execute the extracted code blocks |
| LOW | …t/src/autogen_agentchat/agents/_code_executor_agent.py | 615 | # Step 9: Update model context with the code execution result |
| LOW | …t/src/autogen_agentchat/agents/_code_executor_agent.py | 623 | # Step 10: Yield a CodeExecutionEvent |
| LOW | …t/src/autogen_agentchat/agents/_code_executor_agent.py | 630 | # Step 11: If exit code is non-zero and retries are available then |
| LOW | …n.RuntimeGateway.Grpc.Tests/GrpcGatewayServiceTests.cs | 61 | // Step 4: Verify that the agent receives the control message |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | python/samples/agentchat_chess_game/main.py | 112 | board.push(chess.Move.from_uci(ai_move)) |
| HIGH | python/samples/agentchat_chess_game/main.py | 122 | board.push(chess.Move.from_uci(user_move)) |
| HIGH | python/samples/core_chess_game/main.py | 124 | board.push(new_move) |
| HIGH | …hon/packages/autogen-ext/tests/tools/test_mcp_tools.py | 279 | == '[{"type": "text", "text": "this is a sample text", "annotations": {"audience": ["user", "assistant"], "prior |
| HIGH | …/experimental/task_centric_memory/utils/page_logger.py | 426 | self.page_stack.push(page) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | python/docs/src/_extension/gallery_directive.py | 126 | # Sphinx Design outputs a container too, so just use that |
| LOW | python/samples/core_chainlit/SimpleAssistantAgent.py | 178 | # Message handler for Group chat message. It just add the message to the agent message history. |
| MEDIUM | …/HumanEval/Templates/AgentChat/custom_code_executor.py | 35 | # If python, wrap the extracted code in a unit testing harness |
| MEDIUM | …ckages/autogen-studio/autogenstudio/gallery/builder.py | 578 | # Note: This requires npx to be installed and provides comprehensive MCP testing tools |
| LOW | python/packages/autogen-core/tests/test_workbench.py | 40 | # For the regular run method, just return the final result |
| MEDIUM | …hon/packages/autogen-ext/tests/tools/test_mcp_actor.py | 51 | """Get the expected number of tools by importing and examining the comprehensive server.""" |
| MEDIUM | …packages/autogen-ext/tests/memory/test_redis_memory.py | 505 | # test that we can utilize the optional query arguments top_k and distance_threshold |
| LOW | …task_centric_memory/sessions/teachability/session.json | 439 | "content": "As a contribution to autogen, can I create a new autogen package for a copilot extension agent that |
| MEDIUM | …task_centric_memory/sessions/teachability/session.json | 446 | "content": "### Understanding of the User Message\n\nYou have developed a copilot extension agent using the Autoge |
| MEDIUM | …task_centric_memory/sessions/teachability/session.json | 470 | "### Understanding of the User Message\n\nYou have developed a copilot extension agent using the Autogen frame |
| MEDIUM | …ask_centric_memory/sessions/self_teaching/session.json | 262 | "content": "### Step 1: Understanding the User Message\n\nThe user presents a classic logic puzzle often referred |
| MEDIUM | …ask_centric_memory/sessions/self_teaching/session.json | 286 | "### Step 1: Understanding the User Message\n\nThe user presents a classic logic puzzle often referred to as t |
| LOW | …ckages/autogen-ext/src/autogen_ext/ui/_rich_console.py | 185 | # We don't want to print UserInputRequestedEvent messages, we just use them to signal the user input event. |
| LOW | …es/autogen-ext/src/autogen_ext/tools/mcp/_workbench.py | 355 | # For now we just use text representation. |
| MEDIUM | …togen_ext/agents/file_surfer/_markdown_file_browser.py | 251 | # Not robust to TOCTOU issues. |
| MEDIUM | …ckages/autogen-agentchat/tests/test_assistant_agent.py | 3010 | """Test suite for comprehensive workbench testing.""" |
| LOW | …autogen-agentchat/src/autogen_agentchat/ui/_console.py | 167 | # We don't want to print UserInputRequestedEvent messages, we just use them to signal the user input event. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | python/packages/autogen-core/tests/test_tools.py | 147 | def my_function(arg: str = "default") -> MyResult: |
| LOW | python/packages/autogen-core/tests/test_tools.py | 242 | def my_function() -> str: |
| LOW | python/packages/autogen-core/tests/test_tools.py | 252 | def my_function() -> Annotated[str, "The return type"]: |
| LOW | python/packages/autogen-core/tests/test_tools.py | 262 | def my_function() -> "str": |
| LOW | python/packages/autogen-core/tests/test_tools.py | 272 | def my_function(arg: str) -> None: |
| LOW | python/packages/autogen-core/tests/test_tools.py | 283 | def my_function(arg: str, arg2: int) -> None: |
| LOW | python/packages/autogen-core/tests/test_tools.py | 294 | def my_function(arg: "str") -> None: |
| LOW | python/packages/autogen-core/tests/test_tools.py | 304 | def my_function(arg: Annotated[str, "An arg"]) -> None: |
| LOW | python/packages/autogen-core/tests/test_tools.py | 314 | def my_function() -> str: |
| LOW | python/packages/autogen-core/tests/test_tools.py | 394 | def my_function() -> str: |
| LOW | python/packages/autogen-core/tests/test_tools.py | 404 | def my_function() -> MyResult: |
| LOW | python/packages/autogen-core/tests/test_tools.py | 415 | def my_function(arg: str) -> MyResult: |
| LOW | python/packages/autogen-core/tests/test_tools.py | 426 | def my_function(arg: str) -> str: |
| LOW | python/packages/autogen-core/tests/test_tools.py | 436 | def my_function(arg: str) -> MyResult: |
| LOW | python/packages/autogen-core/tests/test_tools.py | 453 | def my_function(arg: str) -> MyResultCustomDump: |
| LOW | python/packages/autogen-core/tests/test_tools.py | 463 | def my_function(arg: int) -> int: |
| LOW | python/packages/autogen-core/tests/test_tools.py | 473 | def my_function() -> List[int]: |
| LOW | python/packages/autogen-core/tests/test_tools.py | 74 | def my_function(arg: str, other: Annotated[int, "int arg"], nonrequired: int = 5) -> MyResult: |
| LOW | python/packages/autogen-core/tests/test_tools.py | 129 | def my_function(arg: str = "default") -> MyResult: |
| LOW | python/packages/autogen-core/tests/test_tools.py | 326 | def my_function(my_arg: Annotated[str, "test description"]) -> str: |
| LOW | python/packages/autogen-core/tests/test_tools.py | 344 | def my_function() -> Annotated[str, "test description"]: |
| LOW | python/packages/autogen-core/tests/test_tools.py | 356 | def my_function() -> str: |
| LOW | python/packages/autogen-core/tests/test_tools.py | 369 | def my_function() -> None: |
| LOW | python/packages/autogen-core/tests/test_tools.py | 381 | def my_function() -> MyResult: |
| LOW | …s/autogen-ext/tests/models/test_openai_model_client.py | 508 | def my_function(arg: str, other: Annotated[int, "int arg"], nonrequired: int = 5) -> MyResult: |
| LOW | …n_agentchat/teams/_group_chat/_chat_agent_container.py | 86 | async def handle_request(self, message: GroupChatRequestPublish, ctx: MessageContext) -> None: |
| LOW | …/packages/magentic-one-cli/src/magentic_one_cli/_m1.py | 109 | async def run_task(task: str, hil_mode: bool, use_rich_console: bool) -> None: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …allTemplateTests.TestFunctionCallTemplate.approved.txt | 3 | // This code was generated by a tool. |
| HIGH | …toGen.SourceGenerator/Template/FunctionCallTemplate.cs | 3 | // This code was generated by a tool. |
| HIGH | …toGen.SourceGenerator/Template/FunctionCallTemplate.cs | 31 | // This code was generated by a tool. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …frontend/src/components/views/deploy/guides/python.tsx | 60 | description="Here's a simple example of using the TeamManager class from AutoGen Studio in your python code." |
| MEDIUM | …task_centric_memory/sessions/teachability/session.json | 47 | "content": "1. **Understanding the User Message:**\n The user is inquiring about the possibility of creating a n |
| MEDIUM | …task_centric_memory/sessions/teachability/session.json | 71 | "1. **Understanding the User Message:**\n The user is inquiring about the possibility of creating a new pack |
| MEDIUM | …es/autogen-ext/src/autogen_ext/tools/mcp/_workbench.py | 97 | Here is a simple example of how to use the workbench with a `mcp-server-fetch` server: |
| MEDIUM | …/models/semantic_kernel/_sk_chat_completion_adapter.py | 313 | # If there's a 'thought' field, you can add that as plain assistant text |
| LOW | …en-ext/src/autogen_ext/models/openai/_openai_client.py | 1216 | # JSON response, make sure to instruct the model to return JSON. |
| LOW | …en-ext/src/autogen_ext/models/openai/_openai_client.py | 1557 | # JSON response, make sure to instruct the model to return JSON. |
| MEDIUM | …s/AgentChat/AutoGen.Basic.Sample/Example08_LMStudio.cs | 35 | // Of course! To calculate the 100th number in the Fibonacci sequence using C#, you can use the following code:` |
| MEDIUM | .github/workflows/codeql.yml | 58 | # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …frontend/src/components/views/deploy/guides/python.tsx | 51 | print(config.model_dump_json())`} |
| HIGH | …frontend/src/components/views/deploy/guides/python.tsx | 72 | print(result)`} |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | python/samples/agentchat_fastapi/app_team.py | 184 | # Example usage |
| LOW | python/samples/agentchat_fastapi/app_agent.py | 107 | # Example usage |
| LOW | …n/packages/autogen-studio/autogenstudio/eval/judges.py | 214 | # # Usage example |
| LOW | …src/Microsoft.AutoGen/Contracts/KVStringParseHelper.cs | 34 | /// Example usage: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …ackages/autogen-studio/tests/mcp/test_mcp_callbacks.py | 196 | result = ElicitResult(action="accept", content={"name": "John Doe"}) |
| LOW | …ackages/autogen-studio/tests/mcp/test_mcp_callbacks.py | 208 | assert result.content == {"name": "John Doe"} |
| LOW | …n/packages/autogen-core/tests/test_json_to_pydantic.py | 116 | "address": {"street": "123 Main St", "city": "Metropolis", "zipcode": "12345"}, |
| LOW | …n/packages/autogen-core/tests/test_json_to_pydantic.py | 198 | "address": {"street": "123 Main St", "city": "Metropolis"}, |
| LOW | …togen-core/src/autogen_core/utils/_json_to_pydantic.py | 556 | "address": {"street": "123 Main St", "city": "Wonderland", "zipcode": "12345"}, |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …thon/packages/autogen-ext/tests/test_azure_ai_agent.py | 177 | |
| MEDIUM | …n_ext/models/llama_cpp/_llama_cpp_completion_client.py | 427 |