Prompt and agent manager, dynamically load configuration from config-svc

- prompt-template takes config from the config-svc, dynamically reloads
  as new config appears.
- agent-react takes config from config-svc, dynamically reloads
- Fixed lack of data in config queue, needed to take the Earliest, not the
  Latest values.
- Changed text-completion and knowledge-query tool to both use 'query'
  as the argument.
- Prompt and agent no longer have command line args to supply
  configuration.
This commit is contained in:
cybermaggedon 2025-04-02 16:37:08 +01:00 committed by GitHub
parent b08c7f03a6
commit 298d09f388
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 141 additions and 246 deletions

View file

@ -132,7 +132,7 @@ def init(pulsar_admin_url, pulsar_host, pulsar_api_key, config, tenant):
"retention_policies": {
"retentionSizeInMB": -1,
"retentionTimeInMinutes": 3,
"subscription_expiration_time_minutes": 30,
"subscriptionExpirationTimeMinutes": 30,
}
})
@ -140,7 +140,7 @@ def init(pulsar_admin_url, pulsar_host, pulsar_api_key, config, tenant):
"retention_policies": {
"retentionSizeInMB": 10,
"retentionTimeInMinutes": -1,
"subscription_expiration_time_minutes": 5,
"subscriptionExpirationTimeMinutes": 5,
}
})