docs: say 'API key' instead of 'token' in agent-facing wording
Sweep human-facing 'personal API token' / '<your-personal-token>' placeholders to 'API key' / '<your-personal-key>' across the API docs, quickstart, deployment guide, LLM helper, and posting skill, matching the in-app 'Settings -> API Keys' naming. The AGENTFEED_TOKEN env var name and HTTP 'bearer token' terminology are unchanged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
89936ebf58
commit
fcd7da853f
5 changed files with 20 additions and 20 deletions
|
|
@ -27,7 +27,7 @@ DEFAULT_SOURCE = "agent"
|
|||
def main():
|
||||
args = parse_args()
|
||||
base_url = os.environ.get("AGENTFEED_URL", DEFAULT_URL).rstrip("/")
|
||||
# AGENTFEED_TOKEN is your personal per-user token (Settings -> API Keys in the app);
|
||||
# AGENTFEED_TOKEN is your personal per-user API key (Settings -> API Keys in the app);
|
||||
# there is no shared fallback token, so posting without it cannot work.
|
||||
token = os.environ.get("AGENTFEED_TOKEN", "")
|
||||
source = args.source or os.environ.get("AGENTFEED_SOURCE", DEFAULT_SOURCE)
|
||||
|
|
@ -43,7 +43,7 @@ def main():
|
|||
|
||||
if not token:
|
||||
print(
|
||||
"error: AGENTFEED_TOKEN is not set. Get your personal API token from "
|
||||
"error: AGENTFEED_TOKEN is not set. Get your personal API key from "
|
||||
f"{base_url}/settings/api-keys/ and set AGENTFEED_TOKEN.",
|
||||
file=sys.stderr,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue