We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cadd5e8 commit 6d5f5b7Copy full SHA for 6d5f5b7
lib/nous/agents/knowledge_base_agent.ex
@@ -85,7 +85,7 @@ defmodule Nous.Agents.KnowledgeBaseAgent do
85
ctx = Context.add_message(ctx, response)
86
87
# Track KB operations for reporting
88
- tool_calls = response.tool_calls || []
+ tool_calls = response.tool_calls
89
90
kb_calls =
91
Enum.filter(tool_calls, fn call ->
lib/nous/knowledge_base/workflows.ex
@@ -261,7 +261,7 @@ defmodule Nous.KnowledgeBase.Workflows do
261
262
defp build_health_report(state) do
263
audit_output = state.data.audit_entries
264
- issues = parse_json_output(audit_output) || []
+ issues = parse_json_output(audit_output)
265
stats = state.data.stats
266
267
report =
0 commit comments