diff --git a/src/interface.jl b/src/interface.jl
index 989538a..0d02c21 100755
--- a/src/interface.jl
+++ b/src/interface.jl
@@ -351,7 +351,8 @@ function selfAwareness(a::agentReflex)
aboutYourself =
"""
Your name is $(a.agentName)
- $(a.roles[a.role])
+ $(a.roles[a.role])
+
"""
prompt =
@@ -359,6 +360,7 @@ function selfAwareness(a::agentReflex)
<|system|>
$aboutYourself
+ $(a.roleSpecificInstruction[a.role])
$work
@@ -370,6 +372,7 @@ function selfAwareness(a::agentReflex)
Use the following format strictly:
What do I know: based on observed results, repeat all the details of what you have been gathered.
What am I missing: based on observed results, describe in detail what you are still missing compared to your plan.
+ P.S. do not mention any toolnames
<|assistant|>
@@ -501,7 +504,7 @@ function actor_mistral_openorca(a::agentReflex, selfaware=nothing)
while true # while Thought or Act is empty, run actor again
# tempcounter += 0.2
@show tempcounter
- response = sendReceivePrompt(a, prompt, max_tokens=1024, temperature=0.4, timeout=180,
+ response = sendReceivePrompt(a, prompt, max_tokens=1024, temperature=0.4, timeout=300,
stopword=["Thought:", "Obs:", "<|system|>", "", "<|end|>"],
seed=seed)
response = splittext(response, ["/n/n", "END", "End", "Obs", "<|im_end|>"])
@@ -1209,7 +1212,7 @@ function grading(a, guideline::T, text::T) where {T<:AbstractString}
prompt_grading = prompt
@show prompt_grading
println("")
- response = sendReceivePrompt(a, prompt, timeout=180)
+ response = sendReceivePrompt(a, prompt, timeout=180a)
response = "{" * split(response, "}")[1] * "}"
@show response
@show jsonresponse = JSON3.read(response)