collab: Set plan in LLM token based on subscription (#29231)

This PR updates the `plan` field in the LLM token to be based on the
subscription.

We weren't using this field anywhere outside of the new billing code, so
it is safe to change its meaning.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2025-04-22 15:44:16 -04:00 committed by GitHub
parent 6caf34ab7e
commit 9bbc2e0fb2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 7 deletions

View file

@ -4147,7 +4147,6 @@ async fn get_llm_api_token(
billing_preferences,
&flags,
has_legacy_llm_subscription,
session.current_plan(&db).await?,
billing_subscription,
session.system_id.clone(),
&session.app_state.config,