mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-08 17:59:09 +00:00
chore: bump version to 1.0.20
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
{
|
||||
"$schema": "https://json.schemastore.org/package.json",
|
||||
"version": "1.0.16",
|
||||
"name": "tfcode",
|
||||
"version": "1.0.20",
|
||||
"name": "@toothfairyai/tfcode",
|
||||
"type": "module",
|
||||
"license": "MIT",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"prepare": "effect-language-service patch || true",
|
||||
"postinstall": "node scripts/postinstall.cjs",
|
||||
@@ -134,6 +133,8 @@
|
||||
"opencode-gitlab-auth": "2.0.0",
|
||||
"opentui-spinner": "0.0.6",
|
||||
"partial-json": "0.1.7",
|
||||
"react": "19.2.4",
|
||||
"react-dom": "19.2.4",
|
||||
"remeda": "catalog:",
|
||||
"semver": "^7.6.3",
|
||||
"solid-js": "catalog:",
|
||||
|
||||
@@ -184,6 +184,7 @@ export namespace ModelsDev {
|
||||
release_date: new Date().toISOString().split("T")[0],
|
||||
attachment: model.supportsVision || false,
|
||||
reasoning: model.reasoner || false,
|
||||
interleaved: model.reasoner ? { field: "reasoning_content" } : undefined,
|
||||
temperature: true,
|
||||
tool_call: model.toolCalling || false,
|
||||
options: {},
|
||||
@@ -232,6 +233,7 @@ export namespace ModelsDev {
|
||||
release_date: "2025-01-01",
|
||||
attachment: true,
|
||||
reasoning: true,
|
||||
interleaved: { field: "reasoning_content" },
|
||||
temperature: true,
|
||||
tool_call: true,
|
||||
options: {},
|
||||
|
||||
@@ -269,9 +269,15 @@ export namespace LLM {
|
||||
"x-opencode-request": input.user.id,
|
||||
"x-opencode-client": Flag.OPENCODE_CLIENT,
|
||||
}
|
||||
: {
|
||||
"User-Agent": `opencode/${Installation.VERSION}`,
|
||||
}),
|
||||
: input.model.providerID === "toothfairyai"
|
||||
? {
|
||||
"User-Agent": `opencode/${Installation.VERSION}`,
|
||||
"x-opencode-session": input.sessionID,
|
||||
"x-opencode-request": input.user.id,
|
||||
}
|
||||
: {
|
||||
"User-Agent": `opencode/${Installation.VERSION}`,
|
||||
}),
|
||||
...input.model.headers,
|
||||
...headers,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user