FastAgency coverage for 182f408c33e0d4f7bd67196a236bdcda65ab364e: 76%

Files Functions Classes

coverage.py v7.8.0, created at 2025-04-19 12:16 +0000

File function statements missing excluded branches partial coverage
docs/docs_src/getting_started/no_auth/mesop/my_fastagency_app/my_fastagency_app/local/main_console.py (no function) 1 0 3 0 0 100%
docs/docs_src/getting_started/no_auth/mesop/my_fastagency_app/my_fastagency_app/workflow.py simple_workflow 6 0 0 0 0 100%
docs/docs_src/getting_started/no_auth/mesop/my_fastagency_app/my_fastagency_app/workflow.py (no function) 4 0 5 0 0 100%
docs/docs_src/tutorials/giphy/main.py giphy_workflow_with_security 10 10 0 0 0 0%
docs/docs_src/tutorials/giphy/main.py giphy_workflow_with_security.is_termination_msg 1 1 0 0 0 0%
docs/docs_src/tutorials/giphy/main.py giphy_workflow_with_security.present_completed_task_or_ask_question 2 2 2 0 0 0%
docs/docs_src/tutorials/giphy/main.py (no function) 8 0 9 0 0 100%
docs/docs_src/tutorials/giphy/simple_main.py giphy_workflow 9 9 0 0 0 0%
docs/docs_src/tutorials/giphy/simple_main.py giphy_workflow.is_termination_msg 1 1 0 0 0 0%
docs/docs_src/tutorials/giphy/simple_main.py (no function) 9 0 8 0 0 100%
docs/docs_src/tutorials/whatsapp/main.py whatsapp_and_websurfer_workflow 9 9 0 0 0 0%
docs/docs_src/tutorials/whatsapp/main.py whatsapp_and_websurfer_workflow.is_termination_msg 1 1 0 0 0 0%
docs/docs_src/tutorials/whatsapp/main.py whatsapp_and_websurfer_workflow.present_completed_task_or_ask_question 2 2 2 0 0 0%
docs/docs_src/tutorials/whatsapp/main.py (no function) 10 0 9 0 0 100%
docs/docs_src/user_guide/adapters/fastapi/security/main_1_jwt.py get_user 4 1 0 2 1 67%
docs/docs_src/user_guide/adapters/fastapi/security/main_1_jwt.py get_current_user 12 3 1 4 2 69%
docs/docs_src/user_guide/adapters/fastapi/security/main_1_jwt.py get_current_active_user 3 1 0 2 1 60%
docs/docs_src/user_guide/adapters/fastapi/security/main_1_jwt.py create_access_token 7 1 0 2 1 78%
docs/docs_src/user_guide/adapters/fastapi/security/main_1_jwt.py login_for_access_token 4 0 2 0 0 100%
docs/docs_src/user_guide/adapters/fastapi/security/main_1_jwt.py get_user_id 1 0 0 0 0 100%
docs/docs_src/user_guide/adapters/fastapi/security/main_1_jwt.py read_root 1 1 0 0 0 0%
docs/docs_src/user_guide/adapters/fastapi/security/main_1_jwt.py (no function) 28 0 18 0 0 100%
docs/docs_src/user_guide/adapters/fastapi/security/main_1_simple.py get_user 4 1 0 2 1 67%
docs/docs_src/user_guide/adapters/fastapi/security/main_1_simple.py fake_decode_token 2 0 0 0 0 100%
docs/docs_src/user_guide/adapters/fastapi/security/main_1_simple.py get_current_user 4 1 0 2 1 67%
docs/docs_src/user_guide/adapters/fastapi/security/main_1_simple.py get_current_active_user 3 1 0 2 1 60%
docs/docs_src/user_guide/adapters/fastapi/security/main_1_simple.py login 4 0 4 0 0 100%
docs/docs_src/user_guide/adapters/fastapi/security/main_1_simple.py get_user_id 1 0 0 0 0 100%
docs/docs_src/user_guide/adapters/fastapi/security/main_1_simple.py read_root 1 1 0 0 0 0%
docs/docs_src/user_guide/adapters/fastapi/security/main_1_simple.py (no function) 19 0 11 0 0 100%
docs/docs_src/user_guide/adapters/fastapi/security/simple_client.py get_oauth_token 3 3 0 0 0 0%
docs/docs_src/user_guide/adapters/fastapi/security/simple_client.py initiate_workflow 5 5 0 0 0 0%
docs/docs_src/user_guide/adapters/fastapi/security/simple_client.py websocket_workflow 11 11 1 4 0 0%
docs/docs_src/user_guide/adapters/fastapi/security/simple_client.py main 3 3 0 0 0 0%
docs/docs_src/user_guide/adapters/fastapi/security/simple_client.py (no function) 5 0 11 0 0 100%
docs/docs_src/user_guide/adapters/fastapi/security/workflows.py simple_workflow 6 2 0 0 0 67%
docs/docs_src/user_guide/adapters/fastapi/security/workflows.py (no function) 5 0 5 0 0 100%
docs/docs_src/user_guide/custom_user_interactions/main.py exam_learning 12 0 1 0 0 100%
docs/docs_src/user_guide/custom_user_interactions/main.py exam_learning.is_termination_msg 1 0 0 0 0 100%
docs/docs_src/user_guide/custom_user_interactions/main.py exam_learning.retrieve_exam_questions 2 0 2 0 0 100%
docs/docs_src/user_guide/custom_user_interactions/main.py exam_learning.write_final_answers 3 0 2 0 0 100%
docs/docs_src/user_guide/custom_user_interactions/main.py exam_learning.get_final_grade 2 0 2 0 0 100%
docs/docs_src/user_guide/custom_user_interactions/main.py (no function) 5 0 7 0 0 100%
docs/docs_src/user_guide/dependency_injection/workflow.py bank_workflow 8 8 2 0 0 0%
docs/docs_src/user_guide/dependency_injection/workflow.py (no function) 4 0 11 0 0 100%
docs/docs_src/user_guide/external_rest_apis/main.py weather_workflow 6 0 0 0 0 100%
docs/docs_src/user_guide/external_rest_apis/main.py (no function) 7 0 6 0 0 100%
docs/docs_src/user_guide/external_rest_apis/security.py weather_workflow_with_security 6 0 0 0 0 100%
docs/docs_src/user_guide/external_rest_apis/security.py (no function) 8 0 7 0 0 100%
docs/docs_src/user_guide/external_rest_apis/security_examples.py configure_oauth_client_token 3 0 2 0 0 100%
docs/docs_src/user_guide/external_rest_apis/security_examples.py configure_api_key_query_client 3 0 2 0 0 100%
docs/docs_src/user_guide/external_rest_apis/security_examples.py configure_api_key_header_client 3 0 2 0 0 100%
docs/docs_src/user_guide/external_rest_apis/security_examples.py configure_api_key_cookie_client 3 0 2 0 0 100%
docs/docs_src/user_guide/external_rest_apis/security_examples.py configure_http_bearer_client 3 0 2 0 0 100%
docs/docs_src/user_guide/external_rest_apis/security_examples.py (no function) 5 0 7 0 0 100%
docs/docs_src/user_guide/runtimes/ag2/mesop/main.py weather_workflow 7 7 0 0 0 0%
docs/docs_src/user_guide/runtimes/ag2/mesop/main.py (no function) 7 0 9 0 0 100%
docs/docs_src/user_guide/runtimes/ag2/mesop/using_non_openai_models.py weather_workflow 7 7 0 0 0 0%
docs/docs_src/user_guide/runtimes/ag2/mesop/using_non_openai_models.py (no function) 8 0 7 0 0 100%
docs/docs_src/user_guide/runtimes/ag2/websurfer.py websurfer_workflow 5 0 0 0 0 100%
docs/docs_src/user_guide/runtimes/ag2/websurfer.py (no function) 5 0 7 0 0 100%
docs/docs_src/user_guide/runtimes/ag2/websurfer_tool.py websurfer_workflow 8 0 0 0 0 100%
docs/docs_src/user_guide/runtimes/ag2/websurfer_tool.py (no function) 5 0 7 0 0 100%
docs/docs_src/user_guide/runtimes/ag2/whatsapp.py whatsapp_workflow 6 6 0 0 0 0%
docs/docs_src/user_guide/runtimes/ag2/whatsapp.py whatsapp_workflow.is_termination_msg 1 1 0 0 0 0%
docs/docs_src/user_guide/runtimes/ag2/whatsapp.py (no function) 5 0 7 0 0 100%
docs/docs_src/user_guide/runtimes/ag2/whatsapp_tool.py whatsapp_workflow 9 9 0 0 0 0%
docs/docs_src/user_guide/runtimes/ag2/whatsapp_tool.py whatsapp_workflow.is_termination_msg 1 1 0 0 0 0%
docs/docs_src/user_guide/runtimes/ag2/whatsapp_tool.py (no function) 5 0 8 0 0 100%
docs/docs_src/user_guide/ui/mesop/main_mesop.py simple_workflow 6 6 0 0 0 0%
docs/docs_src/user_guide/ui/mesop/main_mesop.py (no function) 8 0 8 0 0 100%
docs/docs_src/user_guide/ui/mesop/main_mesop_basic_auth.py simple_workflow 6 6 0 0 0 0%
docs/docs_src/user_guide/ui/mesop/main_mesop_basic_auth.py (no function) 8 0 11 0 0 100%
docs/docs_src/user_guide/ui/mesop/main_mesop_firebase_auth.py simple_workflow 6 6 0 0 0 0%
docs/docs_src/user_guide/ui/mesop/main_mesop_firebase_auth.py (no function) 10 0 9 0 0 100%
e2e/llm-sans/main.py many_multiple_choice_workflow 2 0 0 0 0 100%
e2e/llm-sans/main.py multiple_choice_single_workflow 2 0 0 0 0 100%
e2e/llm-sans/main.py multiple_choice_single_workflow 2 0 0 0 0 100%
e2e/llm-sans/main.py multiple_choice_many_workflow 2 0 0 0 0 100%
e2e/llm-sans/main.py suggested_function_call_workflow 2 0 0 0 0 100%
e2e/llm-sans/main.py function_call_execution 2 0 0 0 0 100%
e2e/llm-sans/main.py error_message 2 0 0 0 0 100%
e2e/llm-sans/main.py workflow_started 1 0 1 0 0 100%
e2e/llm-sans/main.py workflow_completed 2 0 0 0 0 100%
e2e/llm-sans/main.py (no function) 20 20 7 0 0 0%
examples/cli/main_console.py simple_workflow 6 0 0 0 0 100%
examples/cli/main_console.py (no function) 5 0 6 0 0 100%
examples/cli/main_mesop.py simple_workflow 6 6 0 0 0 0%
examples/cli/main_mesop.py (no function) 5 0 6 0 0 100%
examples/cli/main_user_proxy.py simple_workflow 9 9 0 0 0 0%
examples/cli/main_user_proxy.py (no function) 5 0 8 0 0 100%
examples/fixtures.py openai_llm_config 5 0 0 0 0 100%
examples/fixtures.py (no function) 3 0 2 0 0 100%
fastagency/adapters/fastapi/base.py FastAPIAdapter.get_user_id_websocket 11 0 0 0 0 100%
fastagency/adapters/fastapi/base.py FastAPIAdapter.setup_routes 8 0 0 0 0 100%
fastagency/adapters/fastapi/base.py FastAPIAdapter.setup_routes.initiate_chat 3 0 0 0 0 100%
fastagency/adapters/fastapi/base.py FastAPIAdapter.setup_routes.websocket_endpoint 15 1 4 0 0 93%
fastagency/adapters/fastapi/base.py FastAPIAdapter.setup_routes.discovery 7 2 2 0 0 71%
fastagency/adapters/fastapi/base.py FastAPIAdapter.visit_default 2 0 0 0 0 100%
fastagency/adapters/fastapi/base.py FastAPIAdapter.visit_default.a_visit_default 9 2 1 2 0 82%
fastagency/adapters/fastapi/base.py FastAPIAdapter.create_subconversation 1 1 0 0 0 0%
fastagency/adapters/fastapi/base.py FastAPIAdapter.create_provider 1 1 0 0 0 0%
fastagency/adapters/fastapi/base.py FastAPIProvider.__init__ 7 7 0 0 0 0%
fastagency/adapters/fastapi/base.py FastAPIProvider._send_initiate_chat_msg 5 5 1 0 0 0%
fastagency/adapters/fastapi/base.py FastAPIProvider._publish_websocket_message 2 2 1 0 0 0%
fastagency/adapters/fastapi/base.py FastAPIProvider._run_websocket_subscriber 11 11 4 2 0 0%
fastagency/adapters/fastapi/base.py FastAPIProvider.run 15 15 0 0 0 0%
fastagency/adapters/fastapi/base.py FastAPIProvider.run._setup_and_run 1 1 0 0 0 0%
fastagency/adapters/fastapi/base.py FastAPIProvider.run.run_lifespan 4 4 0 2 0 0%
fastagency/adapters/fastapi/base.py FastAPIProvider._get_workflow_info 8 8 1 4 0 0%
fastagency/adapters/fastapi/base.py FastAPIProvider._get_names 1 1 0 0 0 0%
fastagency/adapters/fastapi/base.py FastAPIProvider._get_description 1 1 0 0 0 0%
fastagency/adapters/fastapi/base.py FastAPIProvider.names 1 1 0 0 0 0%
fastagency/adapters/fastapi/base.py FastAPIProvider.get_description 1 1 0 0 0 0%
fastagency/adapters/fastapi/base.py (no function) 31 0 25 0 0 100%
fastagency/adapters/nats/base.py NatsAdapter._handle_input 2 2 2 0 0 0%
fastagency/adapters/nats/base.py NatsAdapter._send_error_msg 2 2 2 0 0 0%
fastagency/adapters/nats/base.py NatsAdapter._create_initiate_subscriber 1 1 0 0 0 0%
fastagency/adapters/nats/base.py NatsAdapter._create_initiate_subscriber.initiate_handler 18 18 2 0 0 0%
fastagency/adapters/nats/base.py NatsAdapter._create_initiate_subscriber.initiate_handler.start_chat 2 2 0 0 0 0%
fastagency/adapters/nats/base.py NatsAdapter._create_initiate_subscriber.initiate_handler.start_chat._start_chat 6 6 1 0 0 0%
fastagency/adapters/nats/base.py NatsAdapter._create_initiate_subscriber.initiate_handler.callback 4 4 2 0 0 0%
fastagency/adapters/nats/base.py NatsAdapter._publish_discovery 5 5 0 2 0 0%
fastagency/adapters/nats/base.py NatsAdapter.lifespan 6 6 0 0 0 0%
fastagency/adapters/nats/base.py NatsAdapter.visit_default 2 2 1 0 0 0%
fastagency/adapters/nats/base.py NatsAdapter.visit_text_message 2 2 1 0 0 0%
fastagency/adapters/nats/base.py NatsAdapter._wait_for_question_response_with_timeout 4 4 1 0 0 0%
fastagency/adapters/nats/base.py NatsAdapter._wait_for_question_response 10 10 5 2 0 0%
fastagency/adapters/nats/base.py NatsAdapter.visit_text_input 5 5 3 0 0 0%
fastagency/adapters/nats/base.py NatsAdapter.visit_multiple_choice 5 5 2 0 0 0%
fastagency/adapters/nats/base.py NatsAdapter.process_message 6 6 1 2 0 0%
fastagency/adapters/nats/base.py NatsAdapter.create_subconversation 1 1 0 0 0 0%
fastagency/adapters/nats/base.py NatsProvider._setup_subscriber 5 5 2 0 0 0%
fastagency/adapters/nats/base.py NatsProvider._setup_subscriber.consume_msg_from_nats 6 6 2 2 0 0%
fastagency/adapters/nats/base.py NatsProvider.run 16 16 0 0 0 0%
fastagency/adapters/nats/base.py NatsProvider.run.send_initiate_chat_msg 1 1 1 0 0 0%
fastagency/adapters/nats/base.py NatsProvider.run.lifespan 5 5 1 0 0 0%
fastagency/adapters/nats/base.py NatsProvider.run._setup_and_run 3 3 0 0 0 0%
fastagency/adapters/nats/base.py NatsProvider.run.run_lifespan 5 5 0 2 0 0%
fastagency/adapters/nats/base.py NatsProvider._get_jetstream_context 5 5 1 0 0 0%
fastagency/adapters/nats/base.py NatsProvider._get_jetstream_key_value 3 3 0 0 0 0%
fastagency/adapters/nats/base.py NatsProvider._get_names 7 7 1 0 0 0%
fastagency/adapters/nats/base.py NatsProvider._get_description 6 6 2 0 0 0%
fastagency/adapters/nats/base.py NatsProvider.names 2 2 1 0 0 0%
fastagency/adapters/nats/base.py NatsProvider.get_description 2 2 1 0 0 0%
fastagency/adapters/nats/base.py (no function) 33 1 44 0 0 97%
fastagency/api/openapi/fastapi_code_generator_helpers.py ArgumentWithDescription.argument 7 0 0 4 0 100%
fastagency/api/openapi/fastapi_code_generator_helpers.py patch_get_parameter_type 6 0 0 0 0 100%
fastagency/api/openapi/fastapi_code_generator_helpers.py patch_get_parameter_type.get_parameter_type 4 0 0 0 0 100%
fastagency/api/openapi/fastapi_code_generator_helpers.py (no function) 6 0 5 0 0 100%
fastagency/api/openapi/openapi.py add_to_builtins 9 1 0 6 1 87%
fastagency/api/openapi/openapi.py OpenAPI.__init__ 6 0 2 0 0 100%
fastagency/api/openapi/openapi.py OpenAPI._convert_camel_case_within_braces_to_snake 3 0 0 0 0 100%
fastagency/api/openapi/openapi.py OpenAPI._convert_camel_case_within_braces_to_snake.camel_to_snake 1 0 0 0 0 100%
fastagency/api/openapi/openapi.py OpenAPI._process_params 17 3 0 8 3 76%
fastagency/api/openapi/openapi.py OpenAPI.set_security_params 9 2 0 8 2 76%
fastagency/api/openapi/openapi.py OpenAPI._get_matching_security 4 0 0 4 0 100%
fastagency/api/openapi/openapi.py OpenAPI._get_security_params 10 2 0 6 2 75%
fastagency/api/openapi/openapi.py OpenAPI._get_template_dir 4 1 0 2 1 67%
fastagency/api/openapi/openapi.py OpenAPI.generate_code 16 0 2 2 1 94%
fastagency/api/openapi/openapi.py OpenAPI.set_globals 2 0 0 0 0 100%
fastagency/api/openapi/openapi.py OpenAPI.create 20 1 0 6 1 92%
fastagency/api/openapi/openapi.py OpenAPI._remove_pydantic_undefined_from_tools 16 2 0 14 3 83%
fastagency/api/openapi/openapi.py OpenAPI._register_for_llm 5 0 0 2 0 100%
fastagency/api/openapi/openapi.py OpenAPI._register_for_execution 3 0 0 2 0 100%
fastagency/api/openapi/openapi.py OpenAPI.get_functions 1 0 0 0 0 100%
fastagency/api/openapi/openapi.py OpenAPI.function_names 1 0 0 0 0 100%
fastagency/api/openapi/openapi.py (no function) 28 0 49 0 0 100%
fastagency/api/openapi/patch_datamodel_code_generator.py patch_apply_discriminator_type 2 0 1 0 0 100%
fastagency/api/openapi/patch_datamodel_code_generator.py patch_apply_discriminator_type.__apply_discriminator_type_patched 35 4 12 18 3 87%
fastagency/api/openapi/patch_datamodel_code_generator.py patch_apply_discriminator_type.__apply_discriminator_type_patched.check_paths 8 0 0 6 1 93%
fastagency/api/openapi/patch_datamodel_code_generator.py (no function) 3 0 9 0 0 100%
fastagency/api/openapi/patch_fastapi_code_generator.py patch_parse_schema 4 0 1 0 0 100%
fastagency/api/openapi/patch_fastapi_code_generator.py patch_parse_schema.my_parse_schema 4 0 0 2 0 100%
fastagency/api/openapi/patch_fastapi_code_generator.py patch_function_name_parsing 3 0 1 0 0 100%
fastagency/api/openapi/patch_fastapi_code_generator.py patch_function_name_parsing.function_name 5 0 0 2 0 100%
fastagency/api/openapi/patch_fastapi_code_generator.py patch_generate_code 4 0 1 0 0 100%
fastagency/api/openapi/patch_fastapi_code_generator.py patch_generate_code.patched_generate_code 10 1 1 2 0 92%
fastagency/api/openapi/patch_fastapi_code_generator.py (no function) 4 0 8 0 0 100%
fastagency/api/openapi/security.py BaseSecurity.__post_init__ 3 1 0 2 1 60%
fastagency/api/openapi/security.py BaseSecurity.accept 1 0 0 0 0 100%
fastagency/api/openapi/security.py BaseSecurity.is_supported 1 0 0 0 0 100%
fastagency/api/openapi/security.py BaseSecurity.get_security_class 5 0 1 2 0 100%
fastagency/api/openapi/security.py BaseSecurity.get_security_parameters 1 0 0 0 0 100%
fastagency/api/openapi/security.py UnsuportedSecurityStub.is_supported 1 0 0 0 0 100%
fastagency/api/openapi/security.py UnsuportedSecurityStub.accept 3 1 0 2 1 60%
fastagency/api/openapi/security.py UnsuportedSecurityStub.Parameters.get_security_class 1 0 0 0 0 100%
fastagency/api/openapi/security.py APIKeyHeader.Parameters.apply 4 1 0 2 1 67%
fastagency/api/openapi/security.py APIKeyHeader.Parameters.get_security_class 1 0 0 0 0 100%
fastagency/api/openapi/security.py APIKeyQuery.is_supported 1 0 0 0 0 100%
fastagency/api/openapi/security.py APIKeyQuery.Parameters.apply 2 0 0 0 0 100%
fastagency/api/openapi/security.py APIKeyQuery.Parameters.get_security_class 1 0 0 0 0 100%
fastagency/api/openapi/security.py APIKeyCookie.Parameters.apply 4 0 0 2 1 83%
fastagency/api/openapi/security.py APIKeyCookie.Parameters.get_security_class 1 0 0 0 0 100%
fastagency/api/openapi/security.py HTTPBearer.is_supported 1 0 0 0 0 100%
fastagency/api/openapi/security.py HTTPBearer.Parameters.apply 3 1 0 2 1 60%
fastagency/api/openapi/security.py HTTPBearer.Parameters.get_security_class 1 0 0 0 0 100%
fastagency/api/openapi/security.py HTTPBasic.is_supported 1 0 0 0 0 100%
fastagency/api/openapi/security.py HTTPBasic.Parameters.apply 4 1 1 0 0 75%
fastagency/api/openapi/security.py HTTPBasic.Parameters.get_security_class 1 0 0 0 0 100%
fastagency/api/openapi/security.py OAuth2PasswordBearer.get_security_parameters 2 0 1 0 0 100%
fastagency/api/openapi/security.py OAuth2PasswordBearer.Parameters.check_credentials 3 0 4 0 0 100%
fastagency/api/openapi/security.py OAuth2PasswordBearer.Parameters.get_token 2 0 1 0 0 100%
fastagency/api/openapi/security.py OAuth2PasswordBearer.Parameters.apply 7 2 0 6 2 69%
fastagency/api/openapi/security.py OAuth2PasswordBearer.Parameters.get_security_class 1 0 0 0 0 100%
fastagency/api/openapi/security.py (no function) 83 0 14 0 0 100%
fastagency/api/openapi/security_schema_visitor.py custom_visitor 12 0 0 4 0 100%
fastagency/api/openapi/security_schema_visitor.py (no function) 2 0 4 0 0 100%
fastagency/app.py FastAgency.__init__ 8 1 7 0 0 88%
fastagency/app.py FastAgency.title 1 0 0 0 0 100%
fastagency/app.py FastAgency.description 1 1 0 0 0 0%
fastagency/app.py FastAgency.__str__ 1 0 0 0 0 100%
fastagency/app.py FastAgency.provider 1 0 0 0 0 100%
fastagency/app.py FastAgency.ui 1 0 0 0 0 100%
fastagency/app.py FastAgency.create 2 0 0 0 0 100%
fastagency/app.py FastAgency.start 1 0 0 0 0 100%
fastagency/app.py FastAgency.__call__ 9 6 1 4 1 31%
fastagency/app.py FastAgency.handle_asgi 3 3 0 2 0 0%
fastagency/app.py (no function) 18 0 10 0 0 100%
fastagency/base.py CreateWorkflowUIMixin.create_workflow_ui 1 0 0 0 0 100%
fastagency/base.py UI.__init__ 4 1 1 0 0 75%
fastagency/base.py UI.workflow_uuid 1 0 0 0 0 100%
fastagency/base.py UI.ui_base 1 0 0 0 0 100%
fastagency/base.py UI.async_process 3 0 1 2 0 100%
fastagency/base.py UI.process 3 0 1 2 0 100%
fastagency/base.py UI.process_message 1 0 0 0 0 100%
fastagency/base.py UI.text_message 1 0 0 0 0 100%
fastagency/base.py UI.suggested_function_call 1 0 0 0 0 100%
fastagency/base.py UI.function_call_execution 1 0 0 0 0 100%
fastagency/base.py UI.multiple_choice 1 0 0 0 0 100%
fastagency/base.py UI.system_message 1 0 0 0 0 100%
fastagency/base.py UI.workflow_started 1 0 0 0 0 100%
fastagency/base.py UI.workflow_completed 1 0 0 0 0 100%
fastagency/base.py UI.error 1 0 0 0 0 100%
fastagency/base.py UI.keep_alive 1 1 0 0 0 0%
fastagency/base.py check_register_decorator 4 1 0 2 1 67%
fastagency/base.py (no function) 40 0 72 0 0 100%
fastagency/cli/cli.py version_callback 3 2 0 2 1 40%
fastagency/cli/cli.py _run_app 11 3 1 0 0 73%
fastagency/cli/cli.py _get_help_messages 2 0 1 0 0 100%
fastagency/cli/cli.py run 4 0 1 0 0 100%
fastagency/cli/cli.py dev 4 4 1 0 0 0%
fastagency/cli/cli.py version 1 1 0 0 0 0%
fastagency/cli/cli.py main 1 1 0 0 0 0%
fastagency/cli/cli.py (no function) 16 0 9 0 0 100%
fastagency/cli/discover.py get_default_path 6 0 0 4 0 100%
fastagency/cli/discover.py get_module_data_from_path 30 0 3 12 0 100%
fastagency/cli/discover.py get_app_name 24 5 3 16 3 70%
fastagency/cli/discover.py get_import_string 11 1 5 2 0 92%
fastagency/cli/discover.py import_from_string 14 1 6 4 1 89%
fastagency/cli/discover.py (no function) 10 0 13 0 0 100%
fastagency/cli/docker_cli.py (no function) 3 0 133 0 0 100%
fastagency/cli/logging.py setup_logging 4 0 3 0 0 100%
fastagency/cli/logging.py (no function) 1 0 4 0 0 100%
fastagency/exceptions.py (no function) 11 0 11 0 0 100%
fastagency/helpers.py check_imports 3 1 0 2 1 60%
fastagency/helpers.py extract_json_objects 16 0 0 4 0 100%
fastagency/helpers.py jsonify_string 6 0 0 4 0 100%
fastagency/helpers.py optional_temp_path 4 0 0 2 0 100%
fastagency/helpers.py (no function) 6 0 8 0 0 100%
fastagency/logging.py get_logger 2 0 7 0 0 100%
fastagency/logging.py (no function) 2 0 1 0 0 100%
fastagency/messages.py _camel_to_snake 2 0 0 0 0 100%
fastagency/messages.py IOMessage.type 2 0 0 0 0 100%
fastagency/messages.py IOMessage._get_message_class 3 0 0 0 0 100%
fastagency/messages.py IOMessage.create 4 0 0 0 0 100%
fastagency/messages.py IOMessage._get_parameters_names 1 0 0 0 0 100%
fastagency/messages.py IOMessage.model_dump 7 0 0 0 0 100%
fastagency/messages.py TextMessage.__post_init__ 2 1 0 2 1 50%
fastagency/messages.py MessageProcessorMixin.visit 3 0 0 0 0 100%
fastagency/messages.py MessageProcessorMixin.visit_text_message 1 1 0 0 0 0%
fastagency/messages.py MessageProcessorMixin.visit_suggested_function_call 1 0 0 0 0 100%
fastagency/messages.py MessageProcessorMixin.visit_function_call_execution 1 0 0 0 0 100%
fastagency/messages.py MessageProcessorMixin.visit_text_input 1 0 0 0 0 100%
fastagency/messages.py MessageProcessorMixin.visit_multiple_choice 1 1 0 0 0 0%
fastagency/messages.py MessageProcessorMixin.visit_system_message 1 0 0 0 0 100%
fastagency/messages.py MessageProcessorMixin.visit_keep_alive 1 1 0 0 0 0%
fastagency/messages.py MessageProcessorMixin.visit_workflow_started 1 0 0 0 0 100%
fastagency/messages.py MessageProcessorMixin.visit_workflow_completed 1 0 0 0 0 100%
fastagency/messages.py MessageProcessorMixin.visit_error 1 0 0 0 0 100%
fastagency/messages.py MessageProcessorMixin.process_message 4 0 1 0 0 100%
fastagency/messages.py MessageProcessorMixin._body_to_str 13 1 0 10 1 91%
fastagency/messages.py MessageProcessorMixin.text_message 2 0 0 0 0 100%
fastagency/messages.py MessageProcessorMixin.suggested_function_call 3 0 0 0 0 100%
fastagency/messages.py MessageProcessorMixin.function_call_execution 2 0 0 0 0 100%
fastagency/messages.py MessageProcessorMixin.multiple_choice 3 0 0 0 0 100%
fastagency/messages.py MessageProcessorMixin.system_message 3 0 0 0 0 100%
fastagency/messages.py MessageProcessorMixin.workflow_started 3 0 0 0 0 100%
fastagency/messages.py MessageProcessorMixin.workflow_completed 2 0 0 0 0 100%
fastagency/messages.py MessageProcessorMixin.error 2 0 0 0 0 100%
fastagency/messages.py MessageProcessorMixin.keep_alive 2 2 0 0 0 0%
fastagency/messages.py (no function) 93 0 134 0 0 100%
fastagency/runtimes/ag2/ag2.py _match 1 0 0 0 0 100%
fastagency/runtimes/ag2/ag2.py create_ag2_event 7 7 0 2 0 0%
fastagency/runtimes/ag2/ag2.py Workflow.__init__ 1 0 0 0 0 100%
fastagency/runtimes/ag2/ag2.py Workflow.register 2 0 0 0 0 100%
fastagency/runtimes/ag2/ag2.py Workflow.register.decorator 6 2 1 2 1 62%
fastagency/runtimes/ag2/ag2.py Workflow.run 9 0 2 0 0 100%
fastagency/runtimes/ag2/ag2.py Workflow.names 1 0 0 0 0 100%
fastagency/runtimes/ag2/ag2.py Workflow.get_description 2 0 0 0 0 100%
fastagency/runtimes/ag2/ag2.py Workflow.register_api 10 0 0 10 2 90%
fastagency/runtimes/ag2/ag2.py (no function) 16 0 18 0 0 100%
fastagency/runtimes/ag2/agents/websurfer.py WebSurferAgent.__init__ 3 0 0 0 0 100%
fastagency/runtimes/ag2/agents/websurfer.py (no function) 2 0 3 0 0 100%
fastagency/runtimes/ag2/agents/whatsapp.py WhatsAppAgent.__init__ 3 0 0 0 0 100%
fastagency/runtimes/ag2/agents/whatsapp.py (no function) 3 0 3 0 0 100%
fastagency/runtimes/ag2/tools/websurfer.py WebSurferAnswer.get_example_answer 1 0 0 0 0 100%
fastagency/runtimes/ag2/tools/websurfer.py WebSurferTool.__init__ 22 2 0 8 4 80%
fastagency/runtimes/ag2/tools/websurfer.py WebSurferTool.is_termination_msg 8 1 0 2 1 80%
fastagency/runtimes/ag2/tools/websurfer.py WebSurferTool._get_error_message 9 3 0 2 1 64%
fastagency/runtimes/ag2/tools/websurfer.py WebSurferTool._get_answer 3 0 0 0 0 100%
fastagency/runtimes/ag2/tools/websurfer.py WebSurferTool._chat_with_websurfer 7 0 0 2 0 100%
fastagency/runtimes/ag2/tools/websurfer.py WebSurferTool._get_error_from_exception 2 2 0 0 0 0%
fastagency/runtimes/ag2/tools/websurfer.py WebSurferTool.create_final_reply 8 1 0 2 1 80%
fastagency/runtimes/ag2/tools/websurfer.py WebSurferTool.create_new_task 6 2 0 0 0 67%
fastagency/runtimes/ag2/tools/websurfer.py WebSurferTool.continue_task_with_additional_instructions 5 5 0 0 0 0%
fastagency/runtimes/ag2/tools/websurfer.py WebSurferTool.example_answer 1 0 0 0 0 100%
fastagency/runtimes/ag2/tools/websurfer.py WebSurferTool.initial_message 1 0 0 0 0 100%
fastagency/runtimes/ag2/tools/websurfer.py WebSurferTool.register 7 0 0 2 0 100%
fastagency/runtimes/ag2/tools/websurfer.py WebSurferTool.register.create_new_task 1 0 0 0 0 100%
fastagency/runtimes/ag2/tools/websurfer.py WebSurferTool.register.continue_task_with_additional_instructions 1 1 0 0 0 0%
fastagency/runtimes/ag2/tools/websurfer.py (no function) 25 0 12 0 0 100%
fastagency/runtimes/ag2/tools/whatsapp.py WhatsAppTool.__init__ 3 0 0 0 0 100%
fastagency/runtimes/ag2/tools/whatsapp.py WhatsAppTool.register 4 0 0 2 0 100%
fastagency/runtimes/ag2/tools/whatsapp.py (no function) 6 0 5 0 0 100%
fastagency/ui/console/console.py ConsoleUI.__init__ 2 0 0 0 0 100%
fastagency/ui/console/console.py ConsoleUI.create 1 0 0 0 0 100%
fastagency/ui/console/console.py ConsoleUI.start 4 0 0 0 0 100%
fastagency/ui/console/console.py ConsoleUI.level 1 0 0 0 0 100%
fastagency/ui/console/console.py ConsoleUI._format_message 8 0 0 0 0 100%
fastagency/ui/console/console.py ConsoleUI._indent 1 0 0 0 0 100%
fastagency/ui/console/console.py ConsoleUI._format_and_print 3 0 0 0 0 100%
fastagency/ui/console/console.py ConsoleUI.visit_default 7 0 0 2 0 100%
fastagency/ui/console/console.py ConsoleUI.visit_text 3 0 0 0 0 100%
fastagency/ui/console/console.py ConsoleUI.visit_execute_function 3 0 1 0 0 100%
fastagency/ui/console/console.py ConsoleUI.visit_text_message 2 2 0 0 0 0%
fastagency/ui/console/console.py ConsoleUI.visit_text_input 5 0 2 0 0 100%
fastagency/ui/console/console.py ConsoleUI.visit_input_request 4 0 2 0 0 100%
fastagency/ui/console/console.py ConsoleUI.visit_multiple_choice 9 3 1 4 1 54%
fastagency/ui/console/console.py ConsoleUI.process_message 1 0 0 0 0 100%
fastagency/ui/console/console.py ConsoleUI.create_subconversation 3 3 0 0 0 0%
fastagency/ui/console/console.py (no function) 30 0 14 0 0 100%
fastagency/ui/mesop/auth/auth.py (no function) 2 0 4 0 0 100%
fastagency/ui/mesop/auth/basic_auth/basic_auth.py BasicAuth.__init__ 2 0 1 0 0 100%
fastagency/ui/mesop/auth/basic_auth/basic_auth.py BasicAuth.create_security_policy 1 1 0 0 0 0%
fastagency/ui/mesop/auth/basic_auth/basic_auth.py BasicAuth.on_auth_changed 5 5 3 0 0 0%
fastagency/ui/mesop/auth/basic_auth/basic_auth.py BasicAuth.auth_component 8 8 0 2 0 0%
fastagency/ui/mesop/auth/basic_auth/basic_auth.py (no function) 6 0 10 0 0 100%
fastagency/ui/mesop/auth/basic_auth/basic_auth_component.py basic_auth_component 1 1 0 0 0 0%
fastagency/ui/mesop/auth/basic_auth/basic_auth_component.py (no function) 3 0 2 0 0 100%
fastagency/ui/mesop/auth/firebase/firebase_auth.py FirebaseAuth.create_security_policy 1 0 0 0 0 100%
fastagency/ui/mesop/auth/firebase/firebase_auth.py FirebaseAuth.is_authorized 11 0 1 8 0 100%
fastagency/ui/mesop/auth/firebase/firebase_auth.py FirebaseAuth.on_auth_changed 12 12 0 4 0 0%
fastagency/ui/mesop/auth/firebase/firebase_auth.py FirebaseAuth.auth_component 10 10 0 2 0 0%
fastagency/ui/mesop/auth/firebase/firebase_auth.py (no function) 11 0 19 2 1 92%
fastagency/ui/mesop/auth/firebase/firebase_auth_component.py firebase_auth_component 1 1 0 0 0 0%
fastagency/ui/mesop/auth/firebase/firebase_auth_component.py (no function) 12 0 3 0 0 100%
fastagency/ui/mesop/components/helpers.py darken_hex_color 7 1 0 2 1 78%
fastagency/ui/mesop/components/helpers.py (no function) 1 0 0 0 0 100%
fastagency/ui/mesop/components/inputs.py input_text 21 0 0 2 0 100%
fastagency/ui/mesop/components/inputs.py input_text.on_click 4 0 1 0 0 100%
fastagency/ui/mesop/components/inputs.py input_text.on_newline 4 4 0 0 0 0%
fastagency/ui/mesop/components/inputs.py input_text.on_submit 1 1 1 0 0 0%
fastagency/ui/mesop/components/inputs.py input_text.on_blur 6 1 0 2 1 75%
fastagency/ui/mesop/components/inputs.py input_text.get_input_key 1 0 0 0 0 100%
fastagency/ui/mesop/components/inputs.py input_text.get_output_key 1 0 0 0 0 100%
fastagency/ui/mesop/components/inputs.py input_text.get_in_out_keys 1 0 0 0 0 100%
fastagency/ui/mesop/components/inputs.py input_text.clear_in_out 3 0 0 0 0 100%
fastagency/ui/mesop/components/inputs.py (no function) 2 0 6 0 0 100%
fastagency/ui/mesop/data_model.py (no function) 30 0 3 0 0 100%
fastagency/ui/mesop/main.py create_home_page 2 0 0 0 0 100%
fastagency/ui/mesop/main.py MesopHomePage.__init__ 5 0 0 0 0 100%
fastagency/ui/mesop/main.py MesopHomePage._create_security_policy 3 0 0 2 0 100%
fastagency/ui/mesop/main.py MesopHomePage.build 4 0 0 0 0 100%
fastagency/ui/mesop/main.py MesopHomePage.build.home_page 1 0 0 0 0 100%
fastagency/ui/mesop/main.py MesopHomePage.home_page 13 4 2 6 3 63%
fastagency/ui/mesop/main.py MesopHomePage.header 2 0 0 0 0 100%
fastagency/ui/mesop/main.py MesopHomePage.past_conversations_box 16 3 0 4 2 65%
fastagency/ui/mesop/main.py MesopHomePage.past_conversations_box.conversation_display_title 2 2 1 0 0 0%
fastagency/ui/mesop/main.py MesopHomePage.past_conversations_box.select_past_conversation 11 11 0 0 0 0%
fastagency/ui/mesop/main.py MesopHomePage.past_conversations_box.on_show_hide 1 1 0 0 0 0%
fastagency/ui/mesop/main.py MesopHomePage.past_conversations_box.on_start_new_conversation 2 2 0 0 0 0%
fastagency/ui/mesop/main.py MesopHomePage.conversation_starter_box 30 9 0 10 4 62%
fastagency/ui/mesop/main.py MesopHomePage.conversation_starter_box.retry 6 6 0 0 0 0%
fastagency/ui/mesop/main.py MesopHomePage.get_provider 2 0 0 0 0 100%
fastagency/ui/mesop/main.py MesopHomePage.send_prompt 13 3 1 0 0 77%
fastagency/ui/mesop/main.py MesopHomePage.conversation_box 11 0 0 4 1 93%
fastagency/ui/mesop/main.py (no function) 21 0 13 0 0 100%
fastagency/ui/mesop/mesop.py MesopUI.__init__ 18 2 4 2 1 85%
fastagency/ui/mesop/mesop.py MesopUI.keep_me_alive 4 0 0 2 0 100%
fastagency/ui/mesop/mesop.py MesopUI.keep_me_alive.keep_alive_worker 6 0 1 4 1 90%
fastagency/ui/mesop/mesop.py MesopUI.do_not_keep_me_alive 1 0 0 0 0 100%
fastagency/ui/mesop/mesop.py MesopUI.get_created_instance 4 0 0 2 0 100%
fastagency/ui/mesop/mesop.py MesopUI.app 4 1 1 0 0 75%
fastagency/ui/mesop/mesop.py MesopUI.create 10 0 2 0 0 100%
fastagency/ui/mesop/mesop.py MesopUI.start 3 3 2 0 0 0%
fastagency/ui/mesop/mesop.py MesopUI.register 1 0 0 0 0 100%
fastagency/ui/mesop/mesop.py MesopUI.get_conversation 1 0 0 0 0 100%
fastagency/ui/mesop/mesop.py MesopUI.unregister 1 1 0 0 0 0%
fastagency/ui/mesop/mesop.py MesopUI.is_root_conversation 1 1 0 0 0 0%
fastagency/ui/mesop/mesop.py MesopUI.root_conversation 3 1 0 2 1 60%
fastagency/ui/mesop/mesop.py MesopUI.in_queue 2 0 0 0 0 100%
fastagency/ui/mesop/mesop.py MesopUI.out_queue 2 0 0 0 0 100%
fastagency/ui/mesop/mesop.py MesopUI.level 1 0 0 0 0 100%
fastagency/ui/mesop/mesop.py MesopUI._publish 1 0 0 0 0 100%
fastagency/ui/mesop/mesop.py MesopUI._mesop_message 1 0 0 0 0 100%
fastagency/ui/mesop/mesop.py MesopUI.visit_default 2 0 0 0 0 100%
fastagency/ui/mesop/mesop.py MesopUI.visit_text 2 2 0 0 0 0%
fastagency/ui/mesop/mesop.py MesopUI.visit_execute_function 2 2 0 0 0 0%
fastagency/ui/mesop/mesop.py MesopUI.visit_text_message 2 0 0 0 0 100%
fastagency/ui/mesop/mesop.py MesopUI.visit_text_input 3 0 0 0 0 100%
fastagency/ui/mesop/mesop.py MesopUI.visit_input_request 3 3 0 0 0 0%
fastagency/ui/mesop/mesop.py MesopUI.visit_multiple_choice 3 0 0 0 0 100%
fastagency/ui/mesop/mesop.py MesopUI.process_message 1 0 0 0 0 100%
fastagency/ui/mesop/mesop.py MesopUI.create_subconversation 3 3 0 0 0 0%
fastagency/ui/mesop/mesop.py MesopUI._is_stream_braker 1 0 0 0 0 100%
fastagency/ui/mesop/mesop.py MesopUI.respond 1 0 0 0 0 100%
fastagency/ui/mesop/mesop.py MesopUI.respond_to 3 3 0 0 0 0%
fastagency/ui/mesop/mesop.py MesopUI.get_message_stream 5 0 0 2 0 100%
fastagency/ui/mesop/mesop.py run_workflow_mesop 6 0 0 0 0 100%
fastagency/ui/mesop/mesop.py run_workflow_mesop.workflow_worker 7 3 1 0 0 57%
fastagency/ui/mesop/mesop.py (no function) 58 0 29 0 0 100%
fastagency/ui/mesop/message.py UUIDEncoder.default 3 3 0 2 0 0%
fastagency/ui/mesop/message.py consume_responses 8 0 0 4 1 92%
fastagency/ui/mesop/message.py handle_message 20 0 0 6 1 96%
fastagency/ui/mesop/message.py find_suitable_title 6 0 0 2 0 100%
fastagency/ui/mesop/message.py message_box 9 2 0 0 0 78%
fastagency/ui/mesop/message.py MesopGUIMessageVisitor.__init__ 5 0 0 0 0 100%
fastagency/ui/mesop/message.py MesopGUIMessageVisitor._has_feedback 1 0 0 0 0 100%
fastagency/ui/mesop/message.py MesopGUIMessageVisitor._is_completed 1 0 0 0 0 100%
fastagency/ui/mesop/message.py MesopGUIMessageVisitor._provide_feedback 8 0 2 0 0 100%
fastagency/ui/mesop/message.py MesopGUIMessageVisitor._render_content 2 0 0 0 0 100%
fastagency/ui/mesop/message.py MesopGUIMessageVisitor.visit_text 2 2 0 0 0 0%
fastagency/ui/mesop/message.py MesopGUIMessageVisitor.visit_using_auto_repy 2 2 0 0 0 0%
fastagency/ui/mesop/message.py MesopGUIMessageVisitor.visit_text_message 3 0 0 0 0 100%
fastagency/ui/mesop/message.py MesopGUIMessageVisitor.visit_error 1 0 0 0 0 100%
fastagency/ui/mesop/message.py MesopGUIMessageVisitor.visit_system_message 2 0 0 0 0 100%
fastagency/ui/mesop/message.py MesopGUIMessageVisitor.visit_keep_alive 4 4 0 2 0 0%
fastagency/ui/mesop/message.py MesopGUIMessageVisitor.visit_keep_alive.on_wakeup 1 1 2 0 0 0%
fastagency/ui/mesop/message.py MesopGUIMessageVisitor.visit_suggested_function_call 2 0 0 0 0 100%
fastagency/ui/mesop/message.py MesopGUIMessageVisitor.visit_function_call_execution 2 0 0 0 0 100%
fastagency/ui/mesop/message.py MesopGUIMessageVisitor.visit_text_input 8 0 0 2 0 100%
fastagency/ui/mesop/message.py MesopGUIMessageVisitor.visit_text_input.on_input 2 0 1 0 0 100%
fastagency/ui/mesop/message.py MesopGUIMessageVisitor.visit_text_input.value_if_completed 2 0 0 0 0 100%
fastagency/ui/mesop/message.py MesopGUIMessageVisitor.visit_multiple_choice 3 0 0 2 0 100%
fastagency/ui/mesop/message.py MesopGUIMessageVisitor._visit_single_choice 5 0 0 0 0 100%
fastagency/ui/mesop/message.py MesopGUIMessageVisitor._visit_single_choice.on_click 2 0 1 0 0 100%
fastagency/ui/mesop/message.py MesopGUIMessageVisitor._visit_single_choice.inner_callback 10 0 0 6 1 94%
fastagency/ui/mesop/message.py MesopGUIMessageVisitor._visit_many_choices 7 0 0 0 0 100%
fastagency/ui/mesop/message.py MesopGUIMessageVisitor._visit_many_choices.on_change 8 2 0 6 2 57%
fastagency/ui/mesop/message.py MesopGUIMessageVisitor._visit_many_choices.on_click 3 0 1 0 0 100%
fastagency/ui/mesop/message.py MesopGUIMessageVisitor._visit_many_choices.should_be_checked 2 0 0 0 0 100%
fastagency/ui/mesop/message.py MesopGUIMessageVisitor._visit_many_choices.inner_callback 5 0 0 4 1 89%
fastagency/ui/mesop/message.py MesopGUIMessageVisitor.render_error_message 6 6 2 0 0 0%
fastagency/ui/mesop/message.py MesopGUIMessageVisitor.process_message 5 3 1 0 0 40%
fastagency/ui/mesop/message.py MesopGUIMessageVisitor._header 16 6 1 8 3 54%
fastagency/ui/mesop/message.py (no function) 30 0 29 0 0 100%
fastagency/ui/mesop/send_prompt.py send_prompt_to_autogen 5 0 3 0 0 100%
fastagency/ui/mesop/send_prompt.py send_user_feedback_to_autogen 5 0 0 0 0 100%
fastagency/ui/mesop/send_prompt.py get_more_messages 4 4 0 0 0 0%
fastagency/ui/mesop/send_prompt.py (no function) 4 0 6 0 0 100%
fastagency/ui/mesop/styles.py (no function) 103 0 3 0 0 100%
fastagency/ui/mesop/timer.py configure_static_file_serving 3 0 1 0 0 100%
fastagency/ui/mesop/timer.py configure_static_file_serving.serve_web_components_fast_agency 3 3 1 0 0 0%
fastagency/ui/mesop/timer.py wakeup_component 1 1 0 0 0 0%
fastagency/ui/mesop/timer.py (no function) 6 0 10 0 0 100%
Total   2791 622 1648 380 79 76%

No items found using the specified filter.

88 empty functions skipped.