Skip to content

Conversation

@akshaydeo
Copy link
Contributor

@akshaydeo akshaydeo commented Dec 16, 2025

Summary

Added Stainless SDK configuration and generated client libraries for multiple programming languages to enable API access to Bifrost.

Changes

  • Added Stainless configuration files (.stainless/stainless.yml and .stainless/workspace.json)
  • Configured SDK generation for TypeScript, Python, Go, Kotlin, and Ruby
  • Added generated SDK submodules in the sdks/ directory
  • Defined API resources and endpoints for chat completions, text completions, MCP tools, audio processing, and admin functionality
  • Set up authentication using bearer tokens

Type of change

  • Feature
  • Documentation

Affected areas

  • Core (Go)
  • Transports (HTTP)
  • Providers/Integrations
  • Docs

How to test

To test the SDKs, clone the repository with submodules and use the appropriate SDK for your language:

# Clone with submodules
git clone --recurse-submodules https://github.com/maximhq/bifrost.git

# For TypeScript
cd sdks/typescript
npm install
npm test

# For Python
cd sdks/python
pip install -e .
pytest

# For Go
cd sdks/go
go test ./...

Breaking changes

  • No

Related issues

Implements API client libraries for programmatic access to Bifrost services.

Security considerations

The SDKs use bearer token authentication. API keys should be handled securely and not committed to source control.

Checklist

  • I added/updated tests where appropriate
  • I updated documentation where needed
  • I verified builds succeed (Go and UI)

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 16, 2025

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch 12-16-sdks_using_stainless

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions
Copy link
Contributor

🧪 Test Suite Available

This PR can be tested by a repository admin.

Run tests for PR #1108

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants