Skip to content

docs: add Doubleword as a provider example#2202

Open
sejori wants to merge 1 commit intohuggingface:mainfrom
sejori:docs/add-doubleword-provider
Open

docs: add Doubleword as a provider example#2202
sejori wants to merge 1 commit intohuggingface:mainfrom
sejori:docs/add-doubleword-provider

Conversation

@sejori
Copy link
Copy Markdown

@sejori sejori commented Apr 17, 2026

Summary

  • Add a new "Using Doubleword" section to the using_different_models.md examples page
  • Shows how to connect to Doubleword's OpenAI-compatible AI model gateway via OpenAIModel
  • Includes setup instructions, environment variable configuration, and a CodeAgent usage example

Doubleword is an AI model gateway providing unified routing across multiple inference providers, with batch pricing offering up to 90% savings. It exposes an OpenAI-compatible API at https://api.doubleword.ai/v1.

Test plan

  • Verify the documentation renders correctly
  • Confirm the code example runs successfully with a valid Doubleword API key

🤖 Generated with Claude Code

Add a section showing how to use Doubleword's OpenAI-compatible API
gateway with smolagents via OpenAIModel, including setup instructions
and a CodeAgent example.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@sejori
Copy link
Copy Markdown
Author

sejori commented Apr 20, 2026

@albertvillanova please advise if this is acceptable - many thanks

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.

1 participant