mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-05-03 04:12:37 +02:00
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:
parent
a2c64cad4a
commit
1d222235d3
9 changed files with 471 additions and 37 deletions
|
|
@ -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"
|
||||
)
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue