Skip to content

Instantly share code, notes, and snippets.

@codigoconjuan
Created May 1, 2026 19:38
Show Gist options
  • Select an option

  • Save codigoconjuan/4c3c6e5e73d1df42fb41bf60b6ffd1c8 to your computer and use it in GitHub Desktop.

Select an option

Save codigoconjuan/4c3c6e5e73d1df42fb41bf60b6ffd1c8 to your computer and use it in GitHub Desktop.
Contexto para LLM CashTrackr
if ($budget->isGoal()) {
$agent->budgetContext = "Este presupuesto es de tipo Meta/Objetivo llamado '{$budget->name}' con un monto total de \${$budget->amount}. Los gastos NO tienen categorías, solo nombre y monto.";
} else {
$agent->budgetContext = "Este presupuesto es de tipo General llamado '{$budget->name}' con un monto total de \${$budget->amount}. Los gastos tienen nombre, monto y categoría.";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment