@fre4x/grok 1.1.0-beta.6 → 1.1.1

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.
Files changed (2) hide show
  1. package/dist/index.js +6 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -46777,7 +46777,12 @@ async function handleGrokSearchX(params, client = xaiClient) {
46777
46777
  if (IS_MOCK) return MOCK_FIXTURES.search_x;
46778
46778
  const { data } = await client.post("/responses", {
46779
46779
  model: GROK_SEARCH_MODEL,
46780
- input: [{ role: "user", content: query }],
46780
+ input: [
46781
+ {
46782
+ role: "user",
46783
+ content: `Search X (Twitter) for: ${query}. Use the x_search tool.`
46784
+ }
46785
+ ],
46781
46786
  tools: [
46782
46787
  {
46783
46788
  type: "x_search",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fre4x/grok",
3
- "version": "1.1.0-beta.6",
3
+ "version": "1.1.1",
4
4
  "description": "An MCP server for xAI (Grok) with search and generation capabilities.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",