LLMClient Task Utils
Celery tasks for llmclient app.
These tasks are long-running and/or i/o intensive operations that are managed by Celery. They are intended to be called asynchronously from the main application.
- smarter.apps.llmclient.tasks.utils.API_SERVICE_NAME = 'smarter-api'
The Kubernetes Service of the platform’s api, which an LLMClient’s ingress sends its requests to.
The Helm chart names it
<global.appName>-api(seesmarter.apiNamesinhelm/charts/smarter/templates/_helpers.tpl).
- smarter.apps.llmclient.tasks.utils.LEGACY_API_SERVICE_NAME = 'smarter'
The api’s Service’s name before it was renamed to
API_SERVICE_NAME.The Helm chart keeps a Service of this name, an alias, until every LLMClient’s ingress has been retargeted by
smarter.apps.llmclient.tasks.retarget_ingresses.retarget_llmclient_ingresses().