Skip to content

Commit 19c6e02

Browse files
Copilothiyouga
andcommitted
Add GitHub workflow secrets documentation for testing
Co-authored-by: hiyouga <16256802+hiyouga@users.noreply.github.com>
1 parent 3100392 commit 19c6e02

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/copilot-instructions.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,14 @@ AgentAdapter is a dual-language project containing both Python and TypeScript im
4949
- Each language has its own dependencies and build process
5050
- When making changes, ensure consistency across both implementations when applicable
5151
- Consult the `docs/` directory for comprehensive reference materials before making architectural changes
52+
53+
## GitHub Workflow Secrets for Testing
54+
55+
When writing tests that require calling AI models, the following secrets are available in GitHub workflows:
56+
57+
- `ANTHROPIC_API_KEY` - API key for Anthropic SDK (Claude models)
58+
- `GEMINI_API_KEY` - API key for Google Gemini SDK
59+
- `OPENAI_API_KEY` - API key for OpenAI SDK
60+
- `OPENAI_BASE_URL` - Base URL for OpenAI API (optional, for custom endpoints)
61+
62+
These secrets can be used in your test code to authenticate with the respective AI model providers. Make sure to handle these credentials securely and never log or expose them in test output.

0 commit comments

Comments
 (0)