在 CustomMem0Embedding.embed() 同步方法中使用 asyncio.run() 调用异步的 manager.get_model(),解决同步/异步混合调用问题。 Generated with [Claude Code](https://claude.com/claude-code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| agent_config.py | ||
| agent_memory_cache.py | ||
| chat_history_manager.py | ||
| checkpoint_manager.py | ||
| checkpoint_utils.py | ||
| config_cache.py | ||
| db_pool_manager.py | ||
| deep_assistant.py | ||
| guideline_middleware.py | ||
| logging_handler.py | ||
| mem0_config.py | ||
| mem0_manager.py | ||
| mem0_middleware.py | ||
| prompt_loader.py | ||
| tool_output_length_middleware.py | ||
| tool_use_cleanup_middleware.py | ||