Configuration initialisation (#335)

* - Fixed error reporting in config
- Updated tg-init-pulsar to be able to load initial config to config-svc
- Tweaked API naming and added more config calls

* Tools to dump out prompts and agent tools
This commit is contained in:
cybermaggedon 2025-04-02 13:52:33 +01:00 committed by GitHub
parent a2c64cad4a
commit 1d222235d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 471 additions and 37 deletions

View file

@ -80,7 +80,7 @@ class Processor(ConsumerProducer):
directory = None,
config = None,
error = Error(
code = "key-error",
type = "key-error",
message = f"Key error"
)
)
@ -112,8 +112,8 @@ class Processor(ConsumerProducer):
directory = None,
config = None,
error = Error(
code="key-error",
message="No such type",
type = "key-error",
message = "No such type",
),
)
@ -135,7 +135,7 @@ class Processor(ConsumerProducer):
directory = None,
config = None,
error = Error(
code = "key-error",
type = "key-error",
message = f"Key error"
)
)
@ -167,7 +167,7 @@ class Processor(ConsumerProducer):
directory = None,
config = None,
error = Error(
code = "key-error",
type = "key-error",
message = f"Key error"
)
)
@ -271,8 +271,8 @@ class Processor(ConsumerProducer):
directory=None,
values=None,
error=Error(
code="bad-operation",
message="Bad operation"
type = "bad-operation",
message = "Bad operation"
)
)