- 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:
Cyber MacGeddon 2025-04-02 16:29:56 +01:00
parent b08c7f03a6
commit c32f120287
6 changed files with 141 additions and 246 deletions

View file

@ -67,6 +67,7 @@ class BaseProcessor:
self.config_subscriber = self.client.subscribe(
self.config_push_queue, config_subscriber_id,
consumer_type=pulsar.ConsumerType.Shared,
initial_position=pulsar.InitialPosition.Earliest,
schema=JsonSchema(ConfigPush),
)