test: address PR review follow-ups for OAuth and logger cleanup
Restore logger config via t.Cleanup after t.Setenv so Yuque token tests do not leak global state, add unit tests for MCP OAuth non-interactive context helpers and IM auth notice formatting, and fix EmbedChatCore indentation.
This commit is contained in:
@@ -47,13 +47,13 @@
|
||||
class="msg-item-wrapper"
|
||||
>
|
||||
<div v-if="session.role === 'user'">
|
||||
<EmbedUserMessage
|
||||
:content="String(session.content || '')"
|
||||
:mentioned_items="asUnknownArray(session.mentioned_items)"
|
||||
:images="asEmbedImages(session.images)"
|
||||
:attachments="asEmbedAttachments(session.attachments)"
|
||||
:embeddedMode="true"
|
||||
:embed-channel-id="channelId"
|
||||
<EmbedUserMessage
|
||||
:content="String(session.content || '')"
|
||||
:mentioned_items="asUnknownArray(session.mentioned_items)"
|
||||
:images="asEmbedImages(session.images)"
|
||||
:attachments="asEmbedAttachments(session.attachments)"
|
||||
:embeddedMode="true"
|
||||
:embed-channel-id="channelId"
|
||||
:embed-token="token"
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user