summaryrefslogtreecommitdiff
path: root/internal/llm/util.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/llm/util.go')
-rw-r--r--internal/llm/util.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/llm/util.go b/internal/llm/util.go
new file mode 100644
index 0000000..b99d7c8
--- /dev/null
+++ b/internal/llm/util.go
@@ -0,0 +1,6 @@
+package llm
+
+import "errors"
+
+// small helper to keep return type consistent
+func nilStringErr(msg string) (string, error) { return "", errors.New(msg) }