Skip to content

Commit 12ed523

Browse files
docs: Add note about organizational token policies (#5161)
Co-authored-by: openhands <[email protected]>
1 parent ebce77a commit 12ed523

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

openhands/resolver/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ Follow these steps to use this workflow in your own repository:
1515

1616
1. [Create a personal access token](https://github.com/settings/tokens?type=beta) with read/write scope for "contents", "issues", "pull requests", and "workflows"
1717

18+
Note: If you're working with an organizational repository, you may need to configure the organization's personal access token policy first. See [Setting a personal access token policy for your organization](https://docs.github.com/en/organizations/managing-programmatic-access-to-your-organization/setting-a-personal-access-token-policy-for-your-organization) for details.
19+
1820
2. Create an API key for the [Claude API](https://www.anthropic.com/api) (recommended) or another supported LLM service
1921

2022
3. Copy `examples/openhands-resolver.yml` to your repository's `.github/workflows/` directory
@@ -83,11 +85,14 @@ pip install openhands-ai
8385
3. Set up environment variables:
8486

8587
```bash
88+
8689
# GitHub credentials
90+
8791
export GITHUB_TOKEN="your-github-token"
8892
export GITHUB_USERNAME="your-github-username" # Optional, defaults to token owner
8993

9094
# LLM configuration
95+
9196
export LLM_MODEL="anthropic/claude-3-5-sonnet-20241022" # Recommended
9297
export LLM_API_KEY="your-llm-api-key"
9398
export LLM_BASE_URL="your-api-url" # Optional, for API proxies

0 commit comments

Comments
 (0)