refactor(chat): replace external-project comment refs with functional descriptions

The chat composables (useStickToBottom / useStream / useMessages / useTyping)
carried '参考 @agentscope-ai/chat …' attribution comments. That package is not
a dependency and is never imported — the lines were pure citation. Rewrite them
as objective functional descriptions so shipped code does not name external
projects.
This commit is contained in:
matevip 2026-06-26 17:03:49 +08:00
parent 20b8b63320
commit d12e959add
4 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,5 @@
/**
* Composable
* @agentscope-ai/chat
*/
import { ref, computed } from 'vue'
import type { Message, MessageContentPart } from '@/types'

View File

@ -1,6 +1,6 @@
/**
* Composable
* @agentscope-ai/chat StickToBottom
* "贴底/脱离锁定"
*/
import { ref, computed, onMounted, onUnmounted } from 'vue'

View File

@ -1,6 +1,6 @@
/**
* SSE Composable
* @agentscope-ai/chat Stream SSE
* SSE
*/
import { ref, computed } from 'vue'
import { handleAuthFailure, updateTokenFromHeader } from '@/utils/auth'

View File

@ -1,6 +1,6 @@
/**
* Composable
* @agentscope-ai/chat
*
*/
import { ref, computed, watch, nextTick } from 'vue'