mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-22 03:31:02 +02:00
API linkage complete
This commit is contained in:
parent
dbd20ea901
commit
86d2ce2f34
2 changed files with 18 additions and 4 deletions
|
|
@ -45,14 +45,12 @@ class AgentClient(BaseClient):
|
|||
|
||||
def inspect(x):
|
||||
|
||||
print("inspect", x)
|
||||
|
||||
if x.thought and think:
|
||||
think(x.thought)
|
||||
return
|
||||
|
||||
if x.observation and observation:
|
||||
think(x.observation)
|
||||
if x.observation and observe:
|
||||
observe(x.observation)
|
||||
return
|
||||
|
||||
if x.answer:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue