update add thoughtlog
This commit is contained in:
@@ -91,11 +91,12 @@ end
|
||||
)
|
||||
```
|
||||
"""
|
||||
function sendReceivePrompt(a::T, prompt::String; timeout::Int=120) where {T<:agent}
|
||||
function sendReceivePrompt(a::T, prompt::String; max_tokens=256, timeout::Int=120) where {T<:agent}
|
||||
a.msgMeta[:msgId] = "$(uuid4())" # new msg id for each msg
|
||||
msg = Dict(
|
||||
:msgMeta=> a.msgMeta,
|
||||
:txt=> prompt,
|
||||
:max_tokens=>max_tokens
|
||||
)
|
||||
payloadChannel = Channel(1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user