mirror of
https://github.com/labring/FastGPT.git
synced 2026-05-06 01:02:54 +08:00
3f4400a500
* feat: model config with brand-new price calculate machanism (#6616) * fix: image read and json error (Agent) (#6502) * fix: 1.image read 2.JSON parsing error * dataset cite and pause * perf: plancall second parse * add test --------- Co-authored-by: archer <545436317@qq.com> * master message * remove invalid code * wip: model config * feat: model config with brand-new price calculate machanism * merge main branch * ajust calculate way * ajust priceTiers resolve procession * perf: price config code * fix: default price * fix: test * fix: comment * fix test --------- Co-authored-by: YeYuheng <57035043+YYH211@users.noreply.github.com> Co-authored-by: archer <545436317@qq.com> * wip: fix modal UI (#6634) * wip: fix modal UI * fix: maxInputToken set * chore: add price unit for non llm models * chore: replace question mark icon with beta tag (#6672) * feat:rerank too long; fix:rerank ui(agent),embedding returns 0 (#6663) * feat:rerank too long; fix:rerank ui(agent),embedding returns 0 * rerank * fix:rerank function * perf: rerank code * fix rerank * perf: model price ui --------- Co-authored-by: archer <545436317@qq.com> * remove llmtype field * revert model init * fix: filed * fix: model select filter * perf: multiple selector render * remove invalid checker * remove invalid i18n * perf: model selector tip * perf: model selector tip * fix cr * limit pnpm version * fix: i18n * fix action * set default mintoken * update i18n * perf: usage push * fix:rerank model ui (#6677) * fix: tier match error * fix: testr --------- Co-authored-by: Ryo <whoeverimf5@gmail.com> Co-authored-by: YeYuheng <57035043+YYH211@users.noreply.github.com>
81 lines
2.0 KiB
JSON
81 lines
2.0 KiB
JSON
{
|
|
"name": "@fastgpt-sdk/otel",
|
|
"private": false,
|
|
"version": "0.1.0",
|
|
"description": "FastGPT SDK for OpenTelemetry observability",
|
|
"type": "module",
|
|
"main": "./dist/index.mjs",
|
|
"types": "./dist/index.d.mts",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.mjs",
|
|
"types": "./dist/index.d.mts"
|
|
},
|
|
"./logger": {
|
|
"import": "./dist/logger-entry.mjs",
|
|
"types": "./dist/logger-entry.d.mts"
|
|
},
|
|
"./metrics": {
|
|
"import": "./dist/metrics-entry.mjs",
|
|
"types": "./dist/metrics-entry.d.mts"
|
|
},
|
|
"./tracing": {
|
|
"import": "./dist/tracing-entry.mjs",
|
|
"types": "./dist/tracing-entry.d.mts"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "tsdown",
|
|
"dev": "tsdown --watch",
|
|
"prepublishOnly": "pnpm build"
|
|
},
|
|
"keywords": [
|
|
"otel",
|
|
"opentelemetry",
|
|
"metrics",
|
|
"tracing",
|
|
"logging"
|
|
],
|
|
"author": "FastGPT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/labring/FastGPT.git",
|
|
"directory": "FastGPT/sdk/otel"
|
|
},
|
|
"homepage": "https://github.com/labring/FastGPT",
|
|
"bugs": {
|
|
"url": "https://github.com/labring/FastGPT/issues"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"engines": {
|
|
"node": ">=20",
|
|
"pnpm": ">=9"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"dependencies": {
|
|
"@logtape/logtape": "^2",
|
|
"@logtape/pretty": "^2",
|
|
"@opentelemetry/api": "^1.9.0",
|
|
"@opentelemetry/api-logs": "^0.203.0",
|
|
"@opentelemetry/exporter-logs-otlp-http": "^0.203.0",
|
|
"@opentelemetry/exporter-metrics-otlp-http": "^0.203.0",
|
|
"@opentelemetry/exporter-trace-otlp-http": "^0.203.0",
|
|
"@opentelemetry/resources": "^2.0.1",
|
|
"@opentelemetry/sdk-logs": "^0.203.0",
|
|
"@opentelemetry/sdk-metrics": "^2.0.1",
|
|
"@opentelemetry/sdk-trace-base": "^2.0.1",
|
|
"@opentelemetry/sdk-trace-node": "^2.0.1",
|
|
"@opentelemetry/semantic-conventions": "^1.39.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "catalog:",
|
|
"tsdown": "catalog:",
|
|
"typescript": "catalog:"
|
|
}
|
|
}
|