Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/acgurl/mori
/ functions
Functions
163 in github.com/acgurl/mori
⨍
Functions
163
◇
Types & classes
55
Method
test_clear_context
测试清除上下文
tests/test_logger.py:160
Function
test_config
测试完整配置
tests/test_config.py:83
Method
test_config_exceptions_inherit_from_config_error
测试配置异常继承关系
tests/test_exceptions.py:187
Method
test_config_file_not_found
测试配置文件不存在异常
tests/test_exceptions.py:51
Method
test_config_parse_error
测试配置解析错误
tests/test_exceptions.py:57
Function
test_config_reference_validation
测试配置引用验证
tests/test_config.py:148
Function
test_config_validation_error
测试配置验证错误
tests/test_config.py:141
Method
test_config_validation_error
测试配置验证错误
tests/test_exceptions.py:65
Method
test_config_validation_error_without_list
测试无错误列表的配置验证错误
tests/test_exceptions.py:74
Method
test_config_with_embedding_models
测试完整配置包含嵌入模型
tests/test_long_term_memory.py:88
Method
test_context_in_log_output
测试上下文信息出现在日志中
tests/test_logger.py:197
Method
test_context_manager
测试上下文管理器
tests/test_logger.py:168
Method
test_create_embedding_model_dashscope
测试创建DashScope嵌入模型配置
tests/test_long_term_memory.py:162
Function
test_custom_template_directory
测试自定义模板目录
tests/test_template.py:117
Function
test_custom_template_priority
测试自定义模板优先级
tests/test_template.py:130
Method
test_embedding_model_config_creation
测试嵌入模型配置创建
tests/test_long_term_memory.py:22
Method
test_embedding_model_config_env_var
测试嵌入模型配置环境变量解析
tests/test_long_term_memory.py:36
Method
test_error_log_separation
测试错误日志分离
tests/test_logger.py:113
Method
test_error_with_details
测试带详情的错误
tests/test_exceptions.py:40
Method
test_exception_logging
测试异常信息记录
tests/test_logger.py:272
Function
test_get_agent_config
测试获取Agent配置
tests/test_config.py:120
Method
test_get_default_logger
测试获取默认日志器
tests/test_logger.py:320
Method
test_get_embedding_model_config
测试获取嵌入模型配置
tests/test_long_term_memory.py:117
Method
test_get_logger
测试获取已存在的日志器
tests/test_logger.py:311
Function
test_get_model_config
测试获取模型配置
tests/test_config.py:99
Function
test_global_config
测试全局配置
tests/test_config.py:58
Function
test_global_config_defaults
测试全局配置默认值
tests/test_config.py:66
Method
test_json_format_output
测试JSON格式输出
tests/test_logger.py:78
Function
test_load_nonexistent_template
测试加载不存在的模板
tests/test_template.py:97
Function
test_load_template_full_path
测试使用完整路径加载模板
tests/test_template.py:56
Function
test_load_template_short_name
测试使用简短名称加载模板
tests/test_template.py:47
Method
test_ltm_config_all_fields
测试长期记忆配置包含所有字段
tests/test_long_term_memory.py:183
Method
test_ltm_config_modes
测试长期记忆的不同模式
tests/test_long_term_memory.py:201
Method
test_ltm_config_storage_options
测试长期记忆的存储选项
tests/test_long_term_memory.py:214
Method
test_memory_config_error
测试记忆系统配置错误
tests/test_exceptions.py:144
Function
test_model_config
测试模型配置
tests/test_config.py:19
Function
test_model_config_env_var
测试环境变量解析
tests/test_config.py:34
Method
test_model_config_error
测试模型配置错误
tests/test_exceptions.py:84
Method
test_model_exceptions_inherit_from_model_error
测试模型异常继承关系
tests/test_exceptions.py:198
Method
test_model_not_found_error
测试模型不存在异常
tests/test_exceptions.py:91
Method
test_model_not_found_error_without_available_list
测试无可用模型列表的模型不存在异常
tests/test_exceptions.py:101
Method
test_nested_context
测试嵌套上下文
tests/test_logger.py:180
Function
test_render_template_full_path
测试使用完整路径渲染模板
tests/test_template.py:76
Function
test_render_template_short_name
测试使用简短名称渲染模板
tests/test_template.py:65
Function
test_render_template_with_context
测试带上下文变量渲染模板
tests/test_template.py:87
Function
test_resolve_template_path_full_path
测试解析完整路径
tests/test_template.py:27
Function
test_resolve_template_path_short_name
测试解析简短模板名称
tests/test_template.py:15
Function
test_resolve_template_path_with_extension
测试带扩展名的路径
tests/test_template.py:37
Method
test_rotation_by_size
测试按大小轮转(基础验证)
tests/test_logger.py:234
Function
test_server_config
测试服务器配置
tests/test_config.py:74
Method
test_set_and_get_context
测试设置和获取上下文
tests/test_logger.py:149
Method
test_setup_logger_basic
测试基本日志器设置
tests/test_logger.py:24
Method
test_setup_logger_creates_directory
测试自动创建日志目录
tests/test_logger.py:55
Method
test_setup_logger_without_file
测试不写文件的日志器
tests/test_logger.py:43
Function
test_template_backwards_compatibility
测试向后兼容性
tests/test_template.py:106
Function
test_template_loader_init
测试模板加载器初始化
tests/test_template.py:8
Function
test_template_loader_with_custom_dir
测试指定自定义模板目录
tests/test_template.py:143
Method
test_template_not_found_error
测试模板不存在异常
tests/test_exceptions.py:153
Method
test_template_render_error
测试模板渲染错误
tests/test_exceptions.py:162
Method
test_tool_execution_error
测试工具执行错误
tests/test_exceptions.py:132
Function
tool_function
{description} Args: task: 要委派给{agent_name} agent的任务描述 Returns: 任务执行结果
mori/tool/agent_tools.py:77
Method
validate_mode
验证记忆模式是否为有效值
mori/config.py:110
Method
validate_references
验证配置引用的完整性 Raises: ConfigValidationError: 配置验证失败
mori/config.py:160
← previous
101–163 of 163, ranked by callers