lambda-erp 0.1.39__tar.gz → 0.1.41__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/PKG-INFO +1 -1
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/api/chat.py +5 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/api/providers.py +9 -2
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/pyproject.toml +1 -1
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/.gitignore +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/LICENSE +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/README.md +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/api/__init__.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/api/attachments.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/api/auth.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/api/bootstrap.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/api/demo_limits.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/api/deps.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/api/errors.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/api/main.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/api/oauth.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/api/pdf.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/api/remarks_md.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/api/routers/__init__.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/api/routers/accounting.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/api/routers/admin.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/api/routers/analytics.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/api/routers/bank_reconciliation.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/api/routers/chat_api.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/api/routers/documents.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/api/routers/masters.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/api/routers/proposals.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/api/routers/reports.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/api/routers/setup.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/api/services.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/api/templates/document.html +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/api/templates/proposal.html +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/docs/agents/README.md +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/frontend/README.md +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/frontend/src/api/client.ts +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/__init__.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/accounting/__init__.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/accounting/bank_transaction.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/accounting/budget.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/accounting/chart_of_accounts.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/accounting/general_ledger.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/accounting/journal_entry.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/accounting/payment_entry.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/accounting/pos_invoice.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/accounting/purchase_invoice.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/accounting/revaluation.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/accounting/sales_invoice.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/accounting/subscription.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/buying/__init__.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/buying/purchase_order.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/controllers/__init__.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/controllers/currency.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/controllers/defaults.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/controllers/pricing_rule.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/controllers/taxes_and_totals.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/database.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/exceptions.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/hooks.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/model.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/selling/__init__.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/selling/proposal.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/selling/quotation.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/selling/sales_order.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/simulation.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/stock/__init__.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/stock/delivery_note.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/stock/purchase_receipt.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/stock/stock_entry.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/stock/stock_ledger.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/lambda_erp/utils.py +0 -0
- {lambda_erp-0.1.39 → lambda_erp-0.1.41}/terraform/README.md +0 -0
|
@@ -2380,6 +2380,11 @@ async def run_thinking_loop(
|
|
|
2380
2380
|
tools=TOOLS,
|
|
2381
2381
|
tool_choice="auto",
|
|
2382
2382
|
max_completion_tokens=max_completion,
|
|
2383
|
+
# gpt-5.6-terra rejects function tools on /v1/chat/completions
|
|
2384
|
+
# unless reasoning_effort is "none" (400 otherwise). Tool
|
|
2385
|
+
# calls run without hidden reasoning until this loop migrates
|
|
2386
|
+
# to the Responses API.
|
|
2387
|
+
reasoning_effort="none",
|
|
2383
2388
|
)
|
|
2384
2389
|
except Exception as e:
|
|
2385
2390
|
await on_event({"type": "error", "content": f"Error calling LLM: {e}"})
|
|
@@ -25,8 +25,15 @@ OPENAI_PRICING: dict[str, dict[str, Any]] = {
|
|
|
25
25
|
{"max_input_tokens": None, "input": 5.00, "cached_input": 0.50, "output": 22.50},
|
|
26
26
|
],
|
|
27
27
|
},
|
|
28
|
-
# GPT-5.6 Terra —
|
|
29
|
-
|
|
28
|
+
# GPT-5.6 Terra — tiered like gpt-5.4 (official model page: requests above
|
|
29
|
+
# 272K input tokens incur 2x input / 1.5x output).
|
|
30
|
+
"gpt-5.6-terra": {
|
|
31
|
+
"tiered": True,
|
|
32
|
+
"tiers": [
|
|
33
|
+
{"max_input_tokens": 272_000, "input": 2.50, "cached_input": 0.25, "output": 15.00},
|
|
34
|
+
{"max_input_tokens": None, "input": 5.00, "cached_input": 0.50, "output": 22.50},
|
|
35
|
+
],
|
|
36
|
+
},
|
|
30
37
|
"gpt-4.1-nano": {"input": 0.10, "cached_input": 0.025, "output": 0.40},
|
|
31
38
|
"gpt-4.1-mini": {"input": 0.40, "cached_input": 0.10, "output": 1.60},
|
|
32
39
|
"gpt-4.1": {"input": 2.00, "cached_input": 0.50, "output": 8.00},
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|