MCPcopy Create free account

hub / github.com/acgurl/mori / functions

Functions163 in github.com/acgurl/mori

Methodtest_clear_context
测试清除上下文
tests/test_logger.py:160
Functiontest_config
测试完整配置
tests/test_config.py:83
Methodtest_config_exceptions_inherit_from_config_error
测试配置异常继承关系
tests/test_exceptions.py:187
Methodtest_config_file_not_found
测试配置文件不存在异常
tests/test_exceptions.py:51
Methodtest_config_parse_error
测试配置解析错误
tests/test_exceptions.py:57
Functiontest_config_reference_validation
测试配置引用验证
tests/test_config.py:148
Functiontest_config_validation_error
测试配置验证错误
tests/test_config.py:141
Methodtest_config_validation_error
测试配置验证错误
tests/test_exceptions.py:65
Methodtest_config_validation_error_without_list
测试无错误列表的配置验证错误
tests/test_exceptions.py:74
Methodtest_config_with_embedding_models
测试完整配置包含嵌入模型
tests/test_long_term_memory.py:88
Methodtest_context_in_log_output
测试上下文信息出现在日志中
tests/test_logger.py:197
Methodtest_context_manager
测试上下文管理器
tests/test_logger.py:168
Methodtest_create_embedding_model_dashscope
测试创建DashScope嵌入模型配置
tests/test_long_term_memory.py:162
Functiontest_custom_template_directory
测试自定义模板目录
tests/test_template.py:117
Functiontest_custom_template_priority
测试自定义模板优先级
tests/test_template.py:130
Methodtest_embedding_model_config_creation
测试嵌入模型配置创建
tests/test_long_term_memory.py:22
Methodtest_embedding_model_config_env_var
测试嵌入模型配置环境变量解析
tests/test_long_term_memory.py:36
Methodtest_error_log_separation
测试错误日志分离
tests/test_logger.py:113
Methodtest_error_with_details
测试带详情的错误
tests/test_exceptions.py:40
Methodtest_exception_logging
测试异常信息记录
tests/test_logger.py:272
Functiontest_get_agent_config
测试获取Agent配置
tests/test_config.py:120
Methodtest_get_default_logger
测试获取默认日志器
tests/test_logger.py:320
Methodtest_get_embedding_model_config
测试获取嵌入模型配置
tests/test_long_term_memory.py:117
Methodtest_get_logger
测试获取已存在的日志器
tests/test_logger.py:311
Functiontest_get_model_config
测试获取模型配置
tests/test_config.py:99
Functiontest_global_config
测试全局配置
tests/test_config.py:58
Functiontest_global_config_defaults
测试全局配置默认值
tests/test_config.py:66
Methodtest_json_format_output
测试JSON格式输出
tests/test_logger.py:78
Functiontest_load_nonexistent_template
测试加载不存在的模板
tests/test_template.py:97
Functiontest_load_template_full_path
测试使用完整路径加载模板
tests/test_template.py:56
Functiontest_load_template_short_name
测试使用简短名称加载模板
tests/test_template.py:47
Methodtest_ltm_config_all_fields
测试长期记忆配置包含所有字段
tests/test_long_term_memory.py:183
Methodtest_ltm_config_modes
测试长期记忆的不同模式
tests/test_long_term_memory.py:201
Methodtest_ltm_config_storage_options
测试长期记忆的存储选项
tests/test_long_term_memory.py:214
Methodtest_memory_config_error
测试记忆系统配置错误
tests/test_exceptions.py:144
Functiontest_model_config
测试模型配置
tests/test_config.py:19
Functiontest_model_config_env_var
测试环境变量解析
tests/test_config.py:34
Methodtest_model_config_error
测试模型配置错误
tests/test_exceptions.py:84
Methodtest_model_exceptions_inherit_from_model_error
测试模型异常继承关系
tests/test_exceptions.py:198
Methodtest_model_not_found_error
测试模型不存在异常
tests/test_exceptions.py:91
Methodtest_model_not_found_error_without_available_list
测试无可用模型列表的模型不存在异常
tests/test_exceptions.py:101
Methodtest_nested_context
测试嵌套上下文
tests/test_logger.py:180
Functiontest_render_template_full_path
测试使用完整路径渲染模板
tests/test_template.py:76
Functiontest_render_template_short_name
测试使用简短名称渲染模板
tests/test_template.py:65
Functiontest_render_template_with_context
测试带上下文变量渲染模板
tests/test_template.py:87
Functiontest_resolve_template_path_full_path
测试解析完整路径
tests/test_template.py:27
Functiontest_resolve_template_path_short_name
测试解析简短模板名称
tests/test_template.py:15
Functiontest_resolve_template_path_with_extension
测试带扩展名的路径
tests/test_template.py:37
Methodtest_rotation_by_size
测试按大小轮转(基础验证)
tests/test_logger.py:234
Functiontest_server_config
测试服务器配置
tests/test_config.py:74
Methodtest_set_and_get_context
测试设置和获取上下文
tests/test_logger.py:149
Methodtest_setup_logger_basic
测试基本日志器设置
tests/test_logger.py:24
Methodtest_setup_logger_creates_directory
测试自动创建日志目录
tests/test_logger.py:55
Methodtest_setup_logger_without_file
测试不写文件的日志器
tests/test_logger.py:43
Functiontest_template_backwards_compatibility
测试向后兼容性
tests/test_template.py:106
Functiontest_template_loader_init
测试模板加载器初始化
tests/test_template.py:8
Functiontest_template_loader_with_custom_dir
测试指定自定义模板目录
tests/test_template.py:143
Methodtest_template_not_found_error
测试模板不存在异常
tests/test_exceptions.py:153
Methodtest_template_render_error
测试模板渲染错误
tests/test_exceptions.py:162
Methodtest_tool_execution_error
测试工具执行错误
tests/test_exceptions.py:132
Functiontool_function
{description} Args: task: 要委派给{agent_name} agent的任务描述 Returns: 任务执行结果
mori/tool/agent_tools.py:77
Methodvalidate_mode
验证记忆模式是否为有效值
mori/config.py:110
Methodvalidate_references
验证配置引用的完整性 Raises: ConfigValidationError: 配置验证失败
mori/config.py:160
← previous101–163 of 163, ranked by callers