-
Notifications
You must be signed in to change notification settings - Fork 3.5k
feat(hosted-key-services) Add hosted key for multiple services #3461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
TheodoreSpeaks
merged 73 commits into
feat/mothership-copilot
from
feat/hosted-key-agent
Mar 10, 2026
Merged
Changes from 1 commit
Commits
Show all changes
73 commits
Select commit
Hold shift + click to select a range
2cdb896
feat(hosted keys): Implement serper hosted key
3e6527a
Handle required fields correctly for hosted keys
e5c8aec
Add rate limiting (3 tries, exponential backoff)
8a78f80
Add custom pricing, switch to exa as first hosted key
d174a6a
Add telemetry
c12e92c
Consolidate byok type definitions
2a36143
Add warning comment if default calculation is used
36e6464
Record usage to user stats table
f237d6f
Fix unit tests, use cost property
0a002fd
Include more metadata in cost output
36d49ef
Fix disabled tests
fbd1cdf
Fix spacing
dc4c611
Fix lint
68da290
Move knowledge cost restructuring away from generic block handler
ce02a30
Migrate knowledge unit tests
e6d98c6
Lint
ecdbe29
Fix broken tests
2325535
Merge branch 'staging' into feat/sim-provided-key
693a3d3
Add user based hosted key throttling
242d6e0
Refactor hosted key handling. Add optimistic handling of throttling f…
7b8e24e
Remove research as hosted key. Recommend BYOK if throtttling occurs
cd160d3
Make adding api keys adjustable via env vars
2082bc4
Remove vestigial fields from research
a90777a
Make billing actor id required for throttling
d7ea0af
Switch to round robin for api key distribution
1c5425e
Add helper method for adding hosted key cost
3832e5c
Strip leading double underscores to avoid breaking change
34cffdc
Lint fix
612ea7c
Remove falsy check in favor for explicit null check
a0fc749
Add more detailed metrics for different throttling types
5d04ae5
Fix _costDollars field
8eaf401
Handle hosted agent tool calls
ee2e123
Fail loudly if cost field isn't found
09a1b5c
Remove any type
0836131
Fix type error
427627a
Fix lint
d29d613
Fix usage log double logging data
3e94ce3
Fix test
1ccaae6
Add browseruse hosted key
74f0191
Add firecrawl and serper hosted keys
158d523
feat(hosted key): Add exa hosted key (#3221)
TheodoreSpeaks 8137357
Fail fast on cost data not being found
b96074c
Add hosted key for google services
0b6c8a9
Add hosting configuration and pricing logic for ElevenLabs TTS tools
6c9bd07
Add linkup hosted key
945f7ea
Add jina hosted key
ce602ce
Add hugging face hosted key
ed1a142
Add perplexity hosting
e07cfe2
Add broader metrics for throttling
8d18eee
Add skill for adding hosted key
1ac08e5
Merge branch 'staging' into feat/hosted-key-agent
d7a124a
Lint, remove vestigial hosted keys not implemented
2280b47
Revert agent changes
af9d64a
fail fast
c1b729f
Fix build issue
4ee4e98
Fix build issues
829b8d4
Fix type error
8829ac3
Remove byok types that aren't implemented
2cccfdd
Address feedback
05eccf1
Use default model when model id isn't provided
4b073a6
Fix cost default issues
540aa18
Remove firecrawl error suppression
9f676bc
Restore original behavior for hugging face
a463ebc
Add mistral hosted key
824b602
Merge branch 'feat/mothership-copilot' into feat/hosted-key-agent
2743063
Merge feat/mothership-copilot into feat/hosted-key-agent (prefer ours)
d5120b0
Remove hugging face hosted key
594a800
Fix pricing mismatch is mistral and perplexity
2293153
Add hosted keys for parallel and brand fetch
32c791b
Add brandfetch hosted key
1ea8f83
Update types
87f6070
Change byok name to parallel_ai
bfa96d8
Add telemetry on unknown models
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add mistral hosted key
- Loading branch information
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.