@aliou/pi-synthetic 0.13.1 → 0.13.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ ![banner](https://assets.aliou.me/pi-extensions/banners/pi-synthetic.png)
2
+
1
3
  # Pi Synthetic Extension
2
4
 
3
5
  A Pi extension that adds [Synthetic](https://synthetic.new) as a model provider, giving you access to open-source models through an OpenAI-compatible API.
@@ -162,4 +164,4 @@ This repository uses [Changesets](https://github.com/changesets/changesets) for
162
164
  - [Synthetic](https://synthetic.new)
163
165
  - [Synthetic Models](https://synthetic.new/models)
164
166
  - [Synthetic API Docs](https://dev.synthetic.new/docs/api/overview)
165
- - [Pi Documentation](https://buildwithpi.ai/)
167
+ - [Pi Documentation](https://buildwithpi.ai/)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aliou/pi-synthetic",
3
- "version": "0.13.1",
3
+ "version": "0.13.3",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "private": false,
@@ -99,26 +99,6 @@ export const SYNTHETIC_MODELS: SyntheticModelConfig[] = [
99
99
  contextWindow: 196608,
100
100
  maxTokens: 65536,
101
101
  },
102
- // API: hf:MiniMaxAI/MiniMax-M2.1 → ctx=196608, out=65536
103
- {
104
- id: "hf:MiniMaxAI/MiniMax-M2.1",
105
- name: "MiniMaxAI/MiniMax-M2.1",
106
- provider: "fireworks",
107
- reasoning: true,
108
- compat: {
109
- supportsReasoningEffort: true,
110
- reasoningEffortMap: SYNTHETIC_REASONING_EFFORT_MAP,
111
- },
112
- input: ["text"],
113
- cost: {
114
- input: 0.3,
115
- output: 1.2,
116
- cacheRead: 0.3,
117
- cacheWrite: 0,
118
- },
119
- contextWindow: 196608,
120
- maxTokens: 65536,
121
- },
122
102
  // models.dev: synthetic/hf:meta-llama/Llama-3.3-70B-Instruct → ctx=128000, out=32768
123
103
  {
124
104
  id: "hf:meta-llama/Llama-3.3-70B-Instruct",
@@ -171,42 +151,6 @@ export const SYNTHETIC_MODELS: SyntheticModelConfig[] = [
171
151
  contextWindow: 162816,
172
152
  maxTokens: 8000,
173
153
  },
174
- // models.dev: synthetic/hf:moonshotai/Kimi-K2-Instruct-0905 → ctx=262144, out=32768
175
- {
176
- id: "hf:moonshotai/Kimi-K2-Instruct-0905",
177
- name: "moonshotai/Kimi-K2-Instruct-0905",
178
- provider: "fireworks",
179
- reasoning: false,
180
- input: ["text"],
181
- cost: {
182
- input: 1.2,
183
- output: 1.2,
184
- cacheRead: 1.2,
185
- cacheWrite: 0,
186
- },
187
- contextWindow: 262144,
188
- maxTokens: 32768,
189
- },
190
- // models.dev: synthetic/hf:moonshotai/Kimi-K2-Thinking → ctx=262144, out=262144
191
- {
192
- id: "hf:moonshotai/Kimi-K2-Thinking",
193
- name: "moonshotai/Kimi-K2-Thinking",
194
- provider: "fireworks",
195
- reasoning: true,
196
- compat: {
197
- supportsReasoningEffort: true,
198
- reasoningEffortMap: SYNTHETIC_REASONING_EFFORT_MAP,
199
- },
200
- input: ["text"],
201
- cost: {
202
- input: 0.6,
203
- output: 2.5,
204
- cacheRead: 0.6,
205
- cacheWrite: 0,
206
- },
207
- contextWindow: 262144,
208
- maxTokens: 262144,
209
- },
210
154
  // models.dev: synthetic/hf:openai/gpt-oss-120b → ctx=128000, out=32768
211
155
  {
212
156
  id: "hf:openai/gpt-oss-120b",
@@ -44,6 +44,12 @@ export function registerSyntheticWebSearchTool(pi: ExtensionAPI): void {
44
44
  label: "Synthetic: Web Search",
45
45
  description:
46
46
  "Search the web using Synthetic's zero-data-retention API. Returns search results with titles, URLs, content snippets, and publication dates. Use for finding documentation, articles, recent information, or any web content. Results are fresh and not cached by Synthetic.",
47
+ promptSnippet: "Search the web using Synthetic's zero-data-retention API",
48
+ promptGuidelines: [
49
+ "Use synthetic_web_search for finding documentation, articles, recent information, or any web content.",
50
+ "Write specific queries with names, dates, versions, or locations for synthetic_web_search.",
51
+ "synthetic_web_search results are fresh and not cached by Synthetic.",
52
+ ],
47
53
  parameters: SearchParams,
48
54
 
49
55
  async execute(