Skip to content

Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.

4.6 KB
Raw Blame
const requests = {
  description:
    '经过网关的模型请求,以及每次请求中记忆的处理情况。这里只记录元数据,不保存提示词、回复或记忆内容。',
  filters: {
    label: '显示',
    all: '全部',
    messages: '新消息',
    tools: '工具步骤',
    issues: '异常',
    kind: '请求类型',
    allKinds: '全部类型',
    search: '搜索模型、对话或密钥',
    clear: '清除筛选',
  },
  scope: '筛选和搜索只覆盖最近 {{count}} 条记录。',
  refreshFailed: '列表刷新失败:{{message}}',
  loadFailed: '无法加载请求日志',
  empty: {
    title: '还没有请求',
    description: '客户端通过网关发出模型请求后,记录会显示在这里。',
    action: '接入客户端',
  },
  noMatch: {
    title: '没有匹配的请求',
    description: '换个筛选条件或搜索词试试。',
  },
  pagination: {
    summary: '共 {{total}} 条,第 {{page}} / {{pageCount}} 页',
  },
  table: {
    time: '时间',
    type: '类型',
    model: '模型',
    status: '状态',
    tokens: 'Token',
    memory: '记忆',
    saving: '保存',
    issue: '异常',
    details: '详情',
  },
  tokens: {
    input: '输入 {{value}}',
    cached: '缓存 {{value}}',
    output: '输出 {{value}}',
  },
  memory: {
    recalled_one: '补充了 {{count}} 条记忆,用时 {{duration}}',
    recalled_other: '补充了 {{count}} 条记忆,用时 {{duration}}',
    replayed_one: '此前 {{count}} 条消息补充的记忆仍保留在历史中',
    replayed_other: '此前 {{count}} 条消息补充的记忆仍保留在历史中',
    recallFailed: '召回失败',
  },
  details: {
    show: '展开详情',
    hide: '收起详情',
    time: '时间',
    requestId: '请求 ID',
    copyRequestId: '复制请求 ID',
    conversation: '对话',
    copyConversation: '复制对话 ID',
    anonymous: '客户端没有发送对话 ID,网关根据历史消息识别这段对话。',
    protocol: '协议',
    upstream: '上游',
    upstreamDeleted: '已删除的上游',
    key: '网关密钥',
    keyRevoked: '已吊销的密钥',
    duration: '耗时',
    durationHint: '从把请求发给模型到回复结束',
    tokens: 'Token',
    tokenLine:
      '输入 {{input}} · 缓存命中 {{cached}} · 缓存写入 {{cacheWrite}} · 输出 {{output}}',
    noUsage: '上游没有返回 Token 用量',
    firstCall: '首次模型调用',
    toolCalls_one: '使用 OpenViking 工具之后的调用({{count}} 次)',
    toolCalls_other: '使用 OpenViking 工具之后的调用({{count}} 次)',
    cache: '提示词缓存',
    cacheEligible: '长度足够,可以缓存(至少 {{min}} Token)',
    cacheIneligible: '长度不足,无法缓存(需要 {{min}} Token)',
    recall: '召回',
    recallResult_one: '{{count}} 条,用时 {{duration}}',
    recallResult_other: '{{count}} 条,用时 {{duration}}',
    context: '上下文窗口',
    contextUsage: '约 {{tokens}} / {{window}} Token({{percent}})',
    compactionApplied: '发送时较早的历史已被替换',
    compactionWritten: '生成了约 {{tokens}} Token 的摘要,用时 {{duration}}',
    compactionFailed: '压缩失败({{reason}}),已发送完整历史',
    compactionStillOver: '摘要已保留,但用量仍达到压缩时机({{reason}})',
    window: '第 {{number}} 个窗口,由模型管理',
    windowReset: '模型开启了新窗口',
    saving: '保存到 OpenViking',
    nextRetry: '下次重试时间:{{time}}',
    tools: 'OpenViking 工具',
    toolsSkipped: '未提供:{{reason}}',
    toolRounds:
      '轮数 {{rounds}} · 额外模型调用 {{calls}} 次 · 约增加 {{tokens}} Token',
    contextOverride: 'X-OpenViking-Context 中传入的配置项',
    whatHappened: '发生了什么',
    whatToDo: '如何处理',
    httpError: '上游返回了 HTTP {{status}},客户端收到了这个错误。',
    httpErrorAction:
      '检查上游的 API Key、模型名称和限流设置,或者测试一下这个上游。',
  },
  resync: {
    action: '重新同步对话…',
    hint: '在新的 OpenViking 会话中重新保存这段对话。保存一直处于暂停状态时可以使用。',
    keyRevoked: '这段对话使用的网关密钥已被吊销,无法重新同步。',
    title: '为这段对话开启新的 OpenViking 会话?',
    description:
      '用户下次在这段对话中发消息时,网关会把完整历史写入新会话。已保存的内容仍留在旧会话中,因此 OpenViking 可能会重复提取部分记忆。',
    confirm: '重新同步',
    done: '这段对话会在下一条消息时重新保存。',
  },
}

export default requests