Skip to content

Commit 62e8d43

Browse files
author
balogh.adam@icloud.com
committed
docs
1 parent 01a1a06 commit 62e8d43

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

docs/opengradient/client/llm.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ Supports both streaming and non-streaming responses.
2121
All request methods (``chat``, ``completion``) are async.
2222

2323
Before making LLM requests, ensure your wallet has approved sufficient
24-
OPG tokens for Permit2 spending by calling ``ensure_opg_allowance``.
25-
This only sends an on-chain transaction when the current allowance is
26-
below the requested amount.
24+
OPG tokens for Permit2 spending by calling ``ensure_opg_allowance`` or ``approve_opg``.
2725

2826
#### Constructor
2927

src/opengradient/client/llm.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,7 @@ class LLM:
5858
All request methods (``chat``, ``completion``) are async.
5959
6060
Before making LLM requests, ensure your wallet has approved sufficient
61-
OPG tokens for Permit2 spending by calling ``ensure_opg_allowance``.
62-
This only sends an on-chain transaction when the current allowance is
63-
below the requested amount.
61+
OPG tokens for Permit2 spending by calling ``ensure_opg_allowance`` or ``approve_opg``.
6462
6563
Usage:
6664
# Via on-chain registry (default)

0 commit comments

Comments
 (0)