Skip to content

feat(eval): add emb token, get task add token result#1038

Merged
zhoujh01 merged 1 commit intomainfrom
feature/add_emb_token
Mar 27, 2026
Merged

feat(eval): add emb token, get task add token result#1038
zhoujh01 merged 1 commit intomainfrom
feature/add_emb_token

Conversation

@yeshion23333
Copy link
Copy Markdown
Collaborator

@yeshion23333 yeshion23333 commented Mar 27, 2026

Description

  1. session meta.json add emb token ;
  2. get_task add token result;

Current result:

{
  "task_id": "4f8e88cf-3434-4340-a816-4dfd621e97e1",
  "task_type": "session_commit",
  "status": "completed",
  "created_at": 1774613334.126558,
  "updated_at": 1774613366.982241,
  "resource_id": "750d928a-1429-44d7-90fd-f7a7ba2bf406",
  "result": {
    "session_id": "750d928a-1429-44d7-90fd-f7a7ba2bf406",
    "archive_uri": "viking://session/default/750d928a-1429-44d7-90fd-f7a7ba2bf406/history/archive_001",
    "memories_extracted": {
      "profile": 1
    },
    "active_count_updated": 0,
    "token_usage": {
      "llm": {
        "prompt_tokens": 7875,
        "completion_tokens": 739,
        "total_tokens": 8614
      },
      "embedding": {
        "total_tokens": 36
      },
      "total": {
        "total_tokens": 8650
      }
    }
  },
  "error": null
}

Related Issue

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Performance improvement
  • Test update

Changes Made

Testing

  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have tested this on the following platforms:
    • Linux
    • macOS
    • Windows

Checklist

  • My code follows the project's coding style
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

Screenshots (if applicable)

Additional Notes

@yeshion23333 yeshion23333 changed the title featemb token feat(eval): add emb token, get task add token result Mar 27, 2026
@github-actions
Copy link
Copy Markdown

Failed to generate code suggestions for PR

@zhoujh01 zhoujh01 merged commit ea240a2 into main Mar 27, 2026
6 of 7 checks passed
@github-project-automation github-project-automation bot moved this from Backlog to Done in OpenViking project Mar 27, 2026
@zhoujh01 zhoujh01 deleted the feature/add_emb_token branch March 27, 2026 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants