chore: add trace msg to llm processor
This commit is contained in:
parent
b185ac664b
commit
6bf446f43d
1 changed files with 3 additions and 0 deletions
|
|
@ -142,6 +142,7 @@ class LLMProcessor:
|
|||
try:
|
||||
if not self.anthropic or not self.session:
|
||||
error = "LLM or MCP session not initialized"
|
||||
print("trace: ", error)
|
||||
print(error)
|
||||
if callback:
|
||||
callback(error)
|
||||
|
|
@ -155,6 +156,8 @@ class LLMProcessor:
|
|||
"content": prompt
|
||||
}
|
||||
]
|
||||
|
||||
print("trace: sending request to LLM", messages)
|
||||
|
||||
# Initial LLM call
|
||||
response = self.anthropic.messages.create(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue