-
Notifications
You must be signed in to change notification settings - Fork 190
Add token usage and counting to Agent Builder #4384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
✅ Vale Linting ResultsNo issues found on modified lines! |
|
Looking good. I think this deservers to be a standalone page, with a generic name which will allow us to add more content about usage, pricing, billing etc. in the future: maybe something like The H1 can just be about "token usage in AB" initially We should then make sure we link to this new page from the landing page and from the chat, agents, tools pages for visibility. |
|
@copilot can you remove the |
|
@leemthompo I've opened a new pull request, #4413, to work on those changes. Once the pull request is ready, I'll request review from you. |
Removed the `#token-usage-in-elastic-agent-builder` anchor from all links to `monitor-usage.md` to simplify navigation and improve maintainability. **Changes:** - Updated links in `chat.md`, `agent-builder-agents.md`, and `tools.md` to reference `monitor-usage.md` directly without anchor fragments - Links now point to the page itself rather than a specific section, allowing the page structure to evolve independently Before: ```markdown [Token usage in Elastic Agent Builder](monitor-usage.md#token-usage-in-elastic-agent-builder) ``` After: ```markdown [Token usage in Elastic Agent Builder](monitor-usage.md) ``` <!-- START COPILOT CODING AGENT TIPS --> --- 💬 We'd love your input! Share your thoughts on Copilot coding agent in our [2 minute survey](https://gh.io/copilot-coding-agent-survey). --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: leemthompo <[email protected]>
|
@copilot we need to add the new page to the |
|
@leemthompo I've opened a new pull request, #4414, to work on those changes. Once the pull request is ready, I'll request review from you. |
Thanks for the feedback on #4384. I've created this new PR, which merges into #4384, to address your comment. I will work on the changes and keep this PR's description up to date as I make progress. Original PR: #4384 Triggering comment (#4384 (comment)): > @copilot we need to add the new page to the `/solutions/toc.yml` file too <!-- START COPILOT CODING AGENT TIPS --> --- 💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more [Copilot coding agent tips](https://gh.io/copilot-coding-agent-tips) in the docs. --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: leemthompo <[email protected]>
Summary
This PR adds a new "Token usage and counting" section to the documenatition.
It clarifies how the agentic framework calculates token consumption.
Related issue: https://github.com/elastic/docs-content-internal/issues/600