From f0ca3b931f4575ba913793c568bd609ccb9e9a83 Mon Sep 17 00:00:00 2001 From: jam Date: Tue, 15 Jul 2025 13:03:21 -0400 Subject: [PATCH] Added more cspell words and fixed typos --- cspell.json | 109 +++++++++++++++++++++++++++++++++++- internal/llm/agent/agent.go | 4 +- 2 files changed, 110 insertions(+), 3 deletions(-) diff --git a/cspell.json b/cspell.json index 34247df510135ec19d9129f3cd4f388437454299..2cffa38ca36558d9273f2781dd7a686be1b3820d 100644 --- a/cspell.json +++ b/cspell.json @@ -1 +1,108 @@ -{"words":["afero","alecthomas","bubbletea","charmbracelet","charmtone","Charple","crush","diffview","Emph","filepicker","Focusable","fsext","GROQ","Guac","imageorient","Lanczos","lipgloss","lsps","lucasb","nfnt","oksvg","Preproc","rasterx","rivo","Sourcegraph","srwiley","Strikethrough","termenv","textinput","trashhalo","uniseg","Unticked","genai","jsonschema","preconfigured","jsons","qjebbs","LOCALAPPDATA","USERPROFILE","stretchr","cursorrules","VERTEXAI","VERTEXAI"],"flagWords":[],"language":"en","version":"0.2"} \ No newline at end of file +{ + "words": [ + "afero", + "agentic", + "alecthomas", + "anthropics", + "aymanbagabas", + "azidentity", + "bmatcuk", + "bubbletea", + "charlievieth", + "charmbracelet", + "charmtone", + "Charple", + "chkconfig", + "crush", + "curlie", + "cursorrules", + "diffview", + "doas", + "Dockerfiles", + "doublestar", + "dpkg", + "Emph", + "fastwalk", + "fdisk", + "filepicker", + "Focusable", + "fseventsd", + "fsext", + "genai", + "goquery", + "GROQ", + "Guac", + "imageorient", + "Inex", + "jetta", + "jsons", + "jsonschema", + "jspm", + "Kaufmann", + "killall", + "Lanczos", + "lipgloss", + "LOCALAPPDATA", + "lsps", + "lucasb", + "makepkg", + "mcps", + "MSYS", + "mvdan", + "natefinch", + "nfnt", + "noctx", + "nohup", + "nolint", + "nslookup", + "oksvg", + "Oneshot", + "openrouter", + "opkg", + "pacman", + "paru", + "pfctl", + "postamble", + "postambles", + "preconfigured", + "Preproc", + "Proactiveness", + "Puerkito", + "pycache", + "pytest", + "qjebbs", + "rasterx", + "rivo", + "sabhiram", + "sess", + "shortlog", + "sjson", + "Sourcegraph", + "srwiley", + "SSEMCP", + "Streamable", + "stretchr", + "Strikethrough", + "substrs", + "Suscriber", + "systeminfo", + "tasklist", + "termenv", + "textinput", + "tidwall", + "timedout", + "trashhalo", + "udiff", + "uniseg", + "Unticked", + "urllib", + "USERPROFILE", + "VERTEXAI", + "webp", + "whatis", + "whereis" + ], + "flagWords": [], + "language": "en", + "version": "0.2" +} diff --git a/internal/llm/agent/agent.go b/internal/llm/agent/agent.go index ad63f659bdbeb2b00f4827030a8075d6696992bc..7cd01e91900a6b0a2720a092e6740ab7d989fb6d 100644 --- a/internal/llm/agent/agent.go +++ b/internal/llm/agent/agent.go @@ -585,8 +585,8 @@ out: return assistantMsg, &msg, err } -func (a *agent) finishMessage(ctx context.Context, msg *message.Message, finishReson message.FinishReason, message, details string) { - msg.AddFinish(finishReson, message, details) +func (a *agent) finishMessage(ctx context.Context, msg *message.Message, finishReason message.FinishReason, message, details string) { + msg.AddFinish(finishReason, message, details) _ = a.messages.Update(ctx, *msg) }