netintel-mcp 1.1.49 → 1.1.50
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/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -831,7 +831,7 @@ function registerTools(server, api) {
|
|
|
831
831
|
}
|
|
832
832
|
});
|
|
833
833
|
// 80. Openai (POST)
|
|
834
|
-
server.tool("netintel_openai", "Call OpenAI's gpt-4o via a single pay-per-call x402 endpoint — no OpenAI account or API key needed, pay $0.10 per request in USDC.
|
|
834
|
+
server.tool("netintel_openai", "Call OpenAI's gpt-4o via a single pay-per-call x402 endpoint — no OpenAI account or API key needed, pay $0.10 per request in USDC. Vision: messages may carry up to 4 https image_url parts per call (detail low/high/auto). Every call is bounded by a 16000-token combined input budget plus a 48000-char cap; output capped at 2048…", { messages: z.array(z.any()), max_tokens: z.number().optional(), temperature: z.number().optional(), top_p: z.number().optional() }, async ({ messages, max_tokens, temperature, top_p }) => {
|
|
835
835
|
try {
|
|
836
836
|
const res = await api.post("/openai/gpt-4o", { messages, max_tokens, temperature, top_p });
|
|
837
837
|
return ok(res.data);
|