chore(hyper): update endpoint to new one

Andrey Nering created

Change summary

internal/agent/hyper/provider.go   | 2 +-
internal/agent/hyper/provider.json | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)

Detailed changes

internal/agent/hyper/provider.go 🔗

@@ -13,7 +13,7 @@ import (
 	"charm.land/catwalk/pkg/catwalk"
 )
 
-//go:generate wget -O provider.json https://hyper.charm.land/api/v1/provider
+//go:generate wget -O provider.json https://hyper.charm.land/v1/provider
 
 //go:embed provider.json
 var embedded []byte

internal/agent/hyper/provider.json 🔗

@@ -21,7 +21,7 @@
     {
       "id": "glm-5.1",
       "name": "GLM-5.1",
-      "cost_per_1m_in": 1.06,
+      "cost_per_1m_in": 1.5,
       "cost_per_1m_out": 4.4,
       "cost_per_1m_in_cached": 0.26,
       "cost_per_1m_out_cached": 0,
@@ -67,7 +67,7 @@
       "cost_per_1m_out": 4,
       "cost_per_1m_in_cached": 0.25,
       "cost_per_1m_out_cached": 0,
-      "context_window": 262144,
+      "context_window": 262142,
       "default_max_tokens": 26214,
       "can_reason": true,
       "supports_attachments": true