From 04df35442ae18c6273f12e8da180f91001ebb586 Mon Sep 17 00:00:00 2001 From: babayaga Date: Tue, 25 Feb 2025 22:34:18 +0100 Subject: [PATCH] maintainence love:) --- packages/osr-code-bot/dist/package-lock.json | 4 +- packages/osr-code-bot/dist/package.json | 2 +- .../osr-code-bot/dist/stats/statistics.html | 2 +- .../models/data/openai_models.json | 86 +++++++++---------- .../models/data/openrouter_models.json | 52 ++++++++++- packages/osr-code-bot/scripts/update-todos.sh | 12 +-- 6 files changed, 103 insertions(+), 55 deletions(-) diff --git a/packages/osr-code-bot/dist/package-lock.json b/packages/osr-code-bot/dist/package-lock.json index 9cdb0d4..5062e27 100644 --- a/packages/osr-code-bot/dist/package-lock.json +++ b/packages/osr-code-bot/dist/package-lock.json @@ -1,12 +1,12 @@ { "name": "@plastichub/kbot", - "version": "1.1.19", + "version": "1.1.20", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@plastichub/kbot", - "version": "1.1.19", + "version": "1.1.20", "license": "ISC", "dependencies": { "node-emoji": "^2.2.0" diff --git a/packages/osr-code-bot/dist/package.json b/packages/osr-code-bot/dist/package.json index 5a56ffb..e65ef8e 100644 --- a/packages/osr-code-bot/dist/package.json +++ b/packages/osr-code-bot/dist/package.json @@ -1,6 +1,6 @@ { "name": "@plastichub/kbot", - "version": "1.1.19", + "version": "1.1.20", "main": "main_node.js", "author": "", "license": "ISC", diff --git a/packages/osr-code-bot/dist/stats/statistics.html b/packages/osr-code-bot/dist/stats/statistics.html index cda1fc6..bce2a22 100644 --- a/packages/osr-code-bot/dist/stats/statistics.html +++ b/packages/osr-code-bot/dist/stats/statistics.html @@ -188,7 +188,7 @@ footer h2 {
- + diff --git a/packages/osr-code-bot/models/data/openai_models.json b/packages/osr-code-bot/models/data/openai_models.json index 15db5f4..c2eb708 100644 --- a/packages/osr-code-bot/models/data/openai_models.json +++ b/packages/osr-code-bot/models/data/openai_models.json @@ -1,5 +1,5 @@ { - "timestamp": 1740460976306, + "timestamp": 1740518707470, "models": [ { "id": "gpt-4o-mini-audio-preview-2024-12-17", @@ -67,6 +67,12 @@ "created": 1725648897, "owned_by": "system" }, + { + "id": "gpt-4o-2024-05-13", + "object": "model", + "created": 1715368132, + "owned_by": "system" + }, { "id": "gpt-4o-mini-realtime-preview", "object": "model", @@ -79,12 +85,6 @@ "created": 1677532384, "owned_by": "openai-internal" }, - { - "id": "gpt-4o-mini-2024-07-18", - "object": "model", - "created": 1721172717, - "owned_by": "system" - }, { "id": "gpt-4-turbo", "object": "model", @@ -115,18 +115,6 @@ "created": 1692634615, "owned_by": "system" }, - { - "id": "gpt-4-0125-preview", - "object": "model", - "created": 1706037612, - "owned_by": "system" - }, - { - "id": "gpt-4-turbo-preview", - "object": "model", - "created": 1706037777, - "owned_by": "system" - }, { "id": "tts-1-hd-1106", "object": "model", @@ -140,15 +128,9 @@ "owned_by": "system" }, { - "id": "tts-1-hd", + "id": "gpt-4o", "object": "model", - "created": 1699046015, - "owned_by": "system" - }, - { - "id": "gpt-4o-2024-05-13", - "object": "model", - "created": 1715368132, + "created": 1715367049, "owned_by": "system" }, { @@ -158,9 +140,21 @@ "owned_by": "system" }, { - "id": "gpt-4o", + "id": "tts-1-hd", "object": "model", - "created": 1715367049, + "created": 1699046015, + "owned_by": "system" + }, + { + "id": "gpt-4-turbo-preview", + "object": "model", + "created": 1706037777, + "owned_by": "system" + }, + { + "id": "gpt-4-0125-preview", + "object": "model", + "created": 1706037612, "owned_by": "system" }, { @@ -188,9 +182,9 @@ "owned_by": "system" }, { - "id": "gpt-4o-mini", + "id": "gpt-4o-2024-11-20", "object": "model", - "created": 1721172741, + "created": 1739331543, "owned_by": "system" }, { @@ -247,12 +241,24 @@ "created": 1683758102, "owned_by": "openai-internal" }, + { + "id": "gpt-4o-mini-2024-07-18", + "object": "model", + "created": 1721172717, + "owned_by": "system" + }, { "id": "text-embedding-3-small", "object": "model", "created": 1705948997, "owned_by": "system" }, + { + "id": "gpt-4o-mini", + "object": "model", + "created": 1721172741, + "owned_by": "system" + }, { "id": "gpt-4-1106-preview", "object": "model", @@ -265,6 +271,12 @@ "created": 1671217299, "owned_by": "openai-internal" }, + { + "id": "text-embedding-3-large", + "object": "model", + "created": 1705953180, + "owned_by": "system" + }, { "id": "omni-moderation-latest", "object": "model", @@ -276,18 +288,6 @@ "object": "model", "created": 1686588896, "owned_by": "openai" - }, - { - "id": "text-embedding-3-large", - "object": "model", - "created": 1705953180, - "owned_by": "system" - }, - { - "id": "gpt-4o-2024-11-20", - "object": "model", - "created": 1739331543, - "owned_by": "system" } ] } \ No newline at end of file diff --git a/packages/osr-code-bot/models/data/openrouter_models.json b/packages/osr-code-bot/models/data/openrouter_models.json index 1eb432e..d4be2ac 100644 --- a/packages/osr-code-bot/models/data/openrouter_models.json +++ b/packages/osr-code-bot/models/data/openrouter_models.json @@ -1,6 +1,30 @@ { - "timestamp": 1740460976884, + "timestamp": 1740518708263, "models": [ + { + "id": "google/gemini-2.0-flash-lite-001", + "name": "Google: Gemini 2.0 Flash Lite", + "created": 1740506212, + "description": "Gemini 2.0 Flash Lite offers a significantly faster time to first token (TTFT) compared to [Gemini Flash 1.5](/google/gemini-flash-1.5), while maintaining quality on par with larger models like [Gemini Pro 1.5](/google/gemini-pro-1.5), all at extremely economical token prices.", + "context_length": 1048576, + "architecture": { + "modality": "text+image->text", + "tokenizer": "Gemini", + "instruct_type": null + }, + "pricing": { + "prompt": "0.000000075", + "completion": "0.0000003", + "image": "0", + "request": "0" + }, + "top_provider": { + "context_length": 1048576, + "max_completion_tokens": 8192, + "is_moderated": false + }, + "per_request_limits": null + }, { "id": "anthropic/claude-3.7-sonnet:beta", "name": "Anthropic: Claude 3.7 Sonnet (self-moderated)", @@ -49,6 +73,30 @@ }, "per_request_limits": null }, + { + "id": "anthropic/claude-3.7-sonnet:thinking", + "name": "Anthropic: Claude 3.7 Sonnet (thinking)", + "created": 1740422110, + "description": "Claude 3.7 Sonnet is an advanced large language model with improved reasoning, coding, and problem-solving capabilities. It introduces a hybrid reasoning approach, allowing users to choose between rapid responses and extended, step-by-step processing for complex tasks. The model demonstrates notable improvements in coding, particularly in front-end development and full-stack updates, and excels in agentic workflows, where it can autonomously navigate multi-step processes. \n\nClaude 3.7 Sonnet maintains performance parity with its predecessor in standard mode while offering an extended reasoning mode for enhanced accuracy in math, coding, and instruction-following tasks.\n\nRead more at the [blog post here](https://www.anthropic.com/news/claude-3-7-sonnet)", + "context_length": 200000, + "architecture": { + "modality": "text+image->text", + "tokenizer": "Claude", + "instruct_type": null + }, + "pricing": { + "prompt": "0.000003", + "completion": "0.000015", + "image": "0.0048", + "request": "0" + }, + "top_provider": { + "context_length": 200000, + "max_completion_tokens": 128000, + "is_moderated": true + }, + "per_request_limits": null + }, { "id": "perplexity/r1-1776", "name": "Perplexity: R1 1776", @@ -269,7 +317,7 @@ "id": "google/gemini-2.0-flash-lite-preview-02-05:free", "name": "Google: Gemini Flash Lite 2.0 Preview (free)", "created": 1738768262, - "description": "Gemini Flash Lite 2.0 offers a significantly faster time to first token (TTFT) compared to [Gemini Flash 1.5](google/gemini-flash-1.5), while maintaining quality on par with larger models like [Gemini Pro 1.5](google/gemini-pro-1.5). Because it's currently in preview, it will be **heavily rate-limited** by Google. This model will move from free to paid pending a general rollout on February 24th, at $0.075 / $0.30 per million input / ouput tokens respectively.", + "description": "Gemini Flash Lite 2.0 offers a significantly faster time to first token (TTFT) compared to [Gemini Flash 1.5](/google/gemini-flash-1.5), while maintaining quality on par with larger models like [Gemini Pro 1.5](/google/gemini-pro-1.5). Because it's currently in preview, it will be **heavily rate-limited** by Google. This model will move from free to paid pending a general rollout on February 24th, at $0.075 / $0.30 per million input / ouput tokens respectively.", "context_length": 1000000, "architecture": { "modality": "text+image->text", diff --git a/packages/osr-code-bot/scripts/update-todos.sh b/packages/osr-code-bot/scripts/update-todos.sh index c17d7d5..c5d3228 100644 --- a/packages/osr-code-bot/scripts/update-todos.sh +++ b/packages/osr-code-bot/scripts/update-todos.sh @@ -1,10 +1,10 @@ kbotd modify \ - --path=. \ - --prompt="./.kbot/todos.md" \ + --prompt="./scripts/todos.md" \ --router2=openai \ - --model2=gpt-4o \ - --include="src/commands/run.ts" \ + --model=anthropic/claude-3.7-sonnet:thinking \ + --include2="src/commands/run.ts" \ --include="src/zod_schema.ts" \ - --include="src/client.ts" \ - --disable="npm,terminal,git,user,search,email" \ + --include2="src/client.ts" \ + --disable="npm,terminal,git,user,search,email,web,interact" \ + --disableTools="file_exists,list_files,read_files" \ --dst="./.kbot/todos-log.md"