Skip to content

Fix Pi agent credentials#180

Closed
NathanFlurry wants to merge 1 commit intomainfrom
tembo/fix-pi-agent-functionality
Closed

Fix Pi agent credentials#180
NathanFlurry wants to merge 1 commit intomainfrom
tembo/fix-pi-agent-functionality

Conversation

@NathanFlurry
Copy link
Member

Summary

Fixed Pi agent functionality by implementing credential extraction and environment variable injection. The agent now:

  • Extracts credentials from all supported providers (Anthropic, OpenAI, Gemini, etc.) using extract_all_credentials()
  • Merges provider API keys into the agent runtime environment via merge_credentials_env()
  • Checks for any available API key credentials to determine if Pi agent is available
  • Updates credential availability logic across router endpoints to support multiple providers
  • Documents that Pi agent accepts any supported provider API key in credentials.mdx

The fix ensures Pi agent receives necessary API keys at runtime and properly reports credential availability status.


Want tembo to make any changes? Add a review or comment with @tembo and i'll get back to work!

View on Tembo View Agent Settings

…provider support

Co-authored-by: Nathan <github@nathanflurry.com>
@tembo tembo bot added the tembo Pull request created by Tembo label Feb 13, 2026
@railway-app
Copy link

railway-app bot commented Feb 13, 2026

🚅 Deployed to the sandbox-agent-pr-180 environment in sandbox-agent

Service Status Web Updated (UTC)
website ✅ Success (View Logs) Web Feb 13, 2026 at 5:26 am

@railway-app railway-app bot temporarily deployed to sandbox-agent / sandbox-agent-pr-180 February 13, 2026 05:25 Destroyed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tembo Pull request created by Tembo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant