Repository navigation
Add SpecStream Extract retrieval provider adapter - #67
Open
Specstreamai wants to merge 1 commit into
Open
Specstreamai wants to merge 1 commit into
Specstreamai wants to merge 1 commit into
Conversation
|
@Specstreamai is attempting to deploy a commit to the ContextDev Team on Vercel. A member of the Team first needs to authorize it. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds SpecStream (
POST https://api.specstream.ai/v1/extract) as a retrieval provider in TRACE followingCONTRIBUTING.md.Summary of changes
src/lib/benchmark/providers.ts): sends{"urls": [target.url], "format": "markdown", "include": ["response"]}withAuthorization: Bearer SPECSTREAM_API_KEY, mapsprice_usdandfinal_url, rejects archive fallback (read_from === "archive") asCACHED_RESPONSE, and marks non-ok provider outcomes (blocked,not_found,empty,failed) as failures while preserving401/402/429as account limits.src/lib/benchmark/types.ts,src/lib/benchmark/parallel.ts,config/pricing.json,.env.example,public/logos/specstream.svg,src/components/trace/provider-logo.tsx,src/app/globals.css): configured atbash.80per 1,000 pages withbillsFailures: false(SpecStream only chargesstatus: "ok"pages) and default concurrency64/10RPS.src/lib/benchmark/analysis.ts,src/lib/benchmark/dataset.ts): ensures historical 4-provider datasets and the static Wikipedia study keep identicalnobodycounts and types when a new provider is registered.docs/methodology.md,src/components/benchmark/report.tsx,scripts/generate-agent-docs.mjs,llms-full.txt,llms.full.txt,tests/specstream-provider.test.ts, and E2E fixture servers).Verification
npm run lint: passed cleanly.npm run test:unit: passed (all 8 statistical checks).npx tsx tests/specstream-provider.test.ts: passed (6/6 adapter cases covering live read, site API read, archive cache rejection, blocked 403 origin error, empty content, and 429 rate limit).npm run build: Next.js production build and TypeScript check passed cleanly.npm run test:agents: passed (agent docs freshness and HTTP endpoint checks).If you would like a
SPECSTREAM_API_KEYpreloaded with evaluation credit to include SpecStream in weekly TRACE runs, reply here or email tarek@specstream.ai and I will provision one right away.