feat(datasource): add wind, imf, gildata, sec_edgar, and sp_data sources#2029
Merged
Conversation
|
commit: |
…rce routing contract
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.
Related Issue
No tracking issue — see the problem below.
Problem
The datasource gateway has launched five new backend data sources, but the kimi-datasource plugin only advertises 7 names in its
get_data_source_descenum, so the model cannot discover or route to them:wind— Wind 万得: A-share/fund/bond/index quotes and financials, announcements, research, macro dataimf— IMF official datasets (IFS/BOP/DOTS/WEO/...): FX, CPI, balance of payments, GDP forecastsgildata— 恒生聚源: natural-language stock/fund/fund-manager screening, research reports, announcementssec_edgar— US SEC filings: 10-K/10-Q, XBRL metrics, Form 4 insider trades, 13F holdings, 8-K eventssp_data— S&P Capital IQ: US company fundamentals, estimates, holders, executives, competitorsWhat changed
get_data_source_descinput-schema enum and bumped the plugin 3.2.0 → 3.3.0 (bin/kimi-datasource.mjsVERSION,kimi.plugin.json,plugins/marketplace.json), following the same pattern as feat(datasource): add yuandian_law legal data source and request-id trace #611.SKILL.md: source count 7 → 12, five new capability rows (wording pulled from the live backend docs viaget_data_source_desc), and an explicit selection policy: a user-named source is used directly; one source per simple lookup (stop after the first sufficient result); otherwise the model picks from objective capability boundaries — no prescriptive routing and no cost assumptions.get_data_source_descnameschema description (e.g.yahoo_financeFX history ≈ 2 years, minute-level intraday series onwind, holders covered byyahoo_finance/sec_edgar(13F) /sp_data), so the model has neutral facts to choose with.CHANGELOG.md3.3.0 entry; docs (docs/zh+docs/en/customization/plugins.md): intro, latest version v3.3.0, five coverage-table rows, new US-equity-research scenario.plugins/changes are versioned viakimi.plugin.json/plugins/marketplace.jsonand shipped through the marketplace CDN (per.changeset/README.md).Verification
test/utils/kimi-datasource-plugin.test.ts6/6 green.call_data_source_toolper new source:sec_edgar_get_company_info(AAPL),sp_get_company_info(AAPL),wind_get_stock_quote(600519.SH),imf_ifs_data(ENDE_XDC_USD_RATE, CHN),gildata_fin_query(贵州茅台最新收盘价)— all returned real data.kimi -p, fresh sessions, isolated working dirs): user-named source honored 3/3 (wind/imf/sp_data, one desc + one call each); unspecified FX query →imf(2-year Yahoo limit applied); unspecified holders query → general quote sources.Checklist
gen-changesetsskill, or this PR needs no changeset. (no changeset — plugin ships via marketplace CDN)gen-docsskill, or this PR needs no doc update. (zh/en plugin docs updated in this PR)