Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

chore(worker): move llm token counter to worker#64008

Merged
stefanhengl merged 5 commits into
mainfrom
sh/move-llm-token-counter
Jul 24, 2024
Merged

chore(worker): move llm token counter to worker#64008
stefanhengl merged 5 commits into
mainfrom
sh/move-llm-token-counter

Conversation

@stefanhengl

Copy link
Copy Markdown
Member

This moves the LLM token counter from frontend to the worker.

Test plan:
new unit test

@cla-bot cla-bot Bot added the cla-signed label Jul 23, 2024
@github-actions github-actions Bot added team/product-platform team/search-platform Issues owned by the search platform team labels Jul 23, 2024
}

func NewEventLogsJob(observationCtx *observation.Context, db database.DB) goroutine.BackgroundRoutine {
func newEventLogsJob(observationCtx *observation.Context, db database.DB) goroutine.BackgroundRoutine {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a leftover from a previous PR.

@stefanhengl stefanhengl marked this pull request as ready for review July 23, 2024 12:35
@stefanhengl stefanhengl requested a review from eseliger July 23, 2024 12:35
@stefanhengl stefanhengl merged commit d352806 into main Jul 24, 2024
@stefanhengl stefanhengl deleted the sh/move-llm-token-counter branch July 24, 2024 08:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed team/product-platform team/search-platform Issues owned by the search platform team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants