Neo

Results 3 issues of Neo

张帅,把范型仓储直接注入到core的DI容器吧,别用TContext.GetService和new了,你可以做到的;) 类似 services.AddScoped(typeof(IRepository), typeof(Repository));

public async Task SaveChangesAsync(bool ensureAutoHistory = false) public async Task SaveChangesAsync(bool ensureAutoHistory = false, params IUnitOfWork[] unitOfWorks)

[INFO][2023-03-16 12:26:19][chat_gpt_bot.py:28] - [OPEN_AI] query=你来自哪里 [ERROR][2023-03-16 12:26:19][wechat_channel.py:163] - module 'openai.error' has no attribute 'Timeout' Traceback (most recent call last): File "/app/chatgpt-on-wechat/bot/chatgpt/chat_gpt_bot.py", line 65, in reply_text response = openai.ChatCompletion.create( AttributeError: module...