on main help sign in
chore(hyper): update endpoint to new one
81fbacaAndrey Nering
internal/agent/hyper/provider.go+1−1
@@ -13,7 +13,7 @@ import (
13 "charm.land/catwalk/pkg/catwalk"
13 "charm.land/catwalk/pkg/catwalk"
14)
14)
15
15
16−//go:generate wget -O provider.json https://hyper.charm.land/api/v1/provider
16+//go:generate wget -O provider.json https://hyper.charm.land/v1/provider
17
17
18//go:embed provider.json
18//go:embed provider.json
19var embedded []byte
19var embedded []byte
internal/agent/hyper/provider.json+2−2
@@ -21,7 +21,7 @@
21 {
21 {
22 "id": "glm-5.1",
22 "id": "glm-5.1",
23 "name": "GLM-5.1",
23 "name": "GLM-5.1",
24− "cost_per_1m_in": 1.06,
24+ "cost_per_1m_in": 1.5,
25 "cost_per_1m_out": 4.4,
25 "cost_per_1m_out": 4.4,
26 "cost_per_1m_in_cached": 0.26,
26 "cost_per_1m_in_cached": 0.26,
27 "cost_per_1m_out_cached": 0,
27 "cost_per_1m_out_cached": 0,
@@ -67,7 +67,7 @@
67 "cost_per_1m_out": 4,
67 "cost_per_1m_out": 4,
68 "cost_per_1m_in_cached": 0.25,
68 "cost_per_1m_in_cached": 0.25,
69 "cost_per_1m_out_cached": 0,
69 "cost_per_1m_out_cached": 0,
70− "context_window": 262144,
70+ "context_window": 262142,
71 "default_max_tokens": 26214,
71 "default_max_tokens": 26214,
72 "can_reason": true,
72 "can_reason": true,
73 "supports_attachments": true
73 "supports_attachments": true