1 2 3 4 5 6
package llm import "errors" // small helper to keep return type consistent func nilStringErr(msg string) (string, error) { return "", errors.New(msg) }