diff --git a/docs/agui-mock/index.html b/docs/agui-mock/index.html index 966e7c0b..1de74fcf 100644 --- a/docs/agui-mock/index.html +++ b/docs/agui-mock/index.html @@ -241,7 +241,7 @@
npx @copilotkit/aimock --fixtures ./fixtures \
+ npx -p @copilotkit/aimock llmock --fixtures ./fixtures \
--agui-record \
--agui-upstream http://localhost:8000/agent
$ npx @copilotkit/aimock --fixtures ./fixtures
+ $ npx -p @copilotkit/aimock llmock --fixtures ./fixtures
# Custom port
-$ npx @copilotkit/aimock --fixtures ./fixtures --port 5555
+$ npx -p @copilotkit/aimock llmock --fixtures ./fixtures --port 5555
npx @copilotkit/aimock --record --provider-openai https://api.openai.com
+ npx -p @copilotkit/aimock llmock --record --provider-openai https://api.openai.com
$ npx @copilotkit/aimock --record --provider-openai https://api.openai.com +$ npx -p @copilotkit/aimock llmock --record --provider-openai https://api.openai.com ⚡ Listening on http://localhost:4010 @@ -1876,7 +1876,11 @@Built for production
// ── Terminal demo animation ────────────────────────────────────── var termSteps = [ // Step 1: User types command - { type: "prompt", text: "npx @copilotkit/aimock -p 4010 -f ./fixture.json", delay: 600 }, + { + type: "prompt", + text: "npx -p @copilotkit/aimock llmock -p 4010 -f ./fixture.json", + delay: 600, + }, // Step 2: Server starts { type: "line", diff --git a/docs/integrate-adk/index.html b/docs/integrate-adk/index.html index 4f06226d..24ff4b94 100644 --- a/docs/integrate-adk/index.html +++ b/docs/integrate-adk/index.html @@ -78,7 +78,7 @@Quick Start
Start aimock shell-+npx @copilotkit/aimock --fixtures fixtures/examples/adk/gemini-agent.jsonnpx -p @copilotkit/aimock llmock --fixtures fixtures/examples/adk/gemini-agent.jsonGemini API Format
diff --git a/docs/integrate-crewai/index.html b/docs/integrate-crewai/index.html index 26fbc732..44da0b61 100644 --- a/docs/integrate-crewai/index.html +++ b/docs/integrate-crewai/index.html @@ -72,7 +72,7 @@Quick Start
shell
# Terminal 1 — start the mock server
-npx @copilotkit/aimock --fixtures ./fixtures
+npx -p @copilotkit/aimock llmock --fixtures ./fixtures
# Terminal 2 — run your CrewAI script
export OPENAI_BASE_URL=http://localhost:4010/v1
@@ -333,7 +333,7 @@ Record & Replay
Record a crew run shell
# Start aimock in record mode — unmatched requests go to OpenAI
-npx @copilotkit/aimock --fixtures ./fixtures \
+npx -p @copilotkit/aimock llmock --fixtures ./fixtures \
--record \
--provider-openai https://api.openai.com
diff --git a/docs/integrate-langchain/index.html b/docs/integrate-langchain/index.html
index 5a192abf..9ed88a8e 100644
--- a/docs/integrate-langchain/index.html
+++ b/docs/integrate-langchain/index.html
@@ -62,7 +62,7 @@ Quick Start
Minimal setup python
from langchain_openai import ChatOpenAI
-# Start aimock first: npx @copilotkit/aimock --fixtures ./fixtures
+# Start aimock first: npx -p @copilotkit/aimock llmock --fixtures ./fixtures
llm = ChatOpenAI(
base_url="http://localhost:4010/v1",
api_key="test",
@@ -182,7 +182,7 @@ Record & Replay
Record a session shell
- npx @copilotkit/aimock --record --provider-openai https://api.openai.com -f ./fixtures
+ npx -p @copilotkit/aimock llmock --record --provider-openai https://api.openai.com -f ./fixtures
Then point your LangChain code at http://localhost:4010/v1 and run your agent
@@ -192,7 +192,7 @@
Record & Replay
Replay in tests shell
# Replay mode (default when fixtures exist)
-npx @copilotkit/aimock -f ./fixtures
+npx -p @copilotkit/aimock llmock -f ./fixtures
# Run your tests against the recorded fixtures
pytest tests/
diff --git a/docs/integrate-llamaindex/index.html b/docs/integrate-llamaindex/index.html
index d44d9d4d..b95d0dd9 100644
--- a/docs/integrate-llamaindex/index.html
+++ b/docs/integrate-llamaindex/index.html
@@ -83,7 +83,7 @@ Quick Start
Start aimock with fixtures that match the queries your pipeline will send:
Terminal shell
- npx @copilotkit/aimock --fixtures ./fixtures/llamaindex
+ npx -p @copilotkit/aimock llmock --fixtures ./fixtures/llamaindex
Mock Both LLM and Vector DB
@@ -281,7 +281,7 @@ Record & Replay
Record mode shell
# Record LLM and embedding calls from a live session
-npx @copilotkit/aimock \
+npx -p @copilotkit/aimock llmock \
--record \
--provider-openai https://api.openai.com \
--fixtures ./fixtures/llamaindex
diff --git a/docs/integrate-maf/index.html b/docs/integrate-maf/index.html
index 52874d1b..d67fb7f8 100644
--- a/docs/integrate-maf/index.html
+++ b/docs/integrate-maf/index.html
@@ -69,7 +69,7 @@ Quick Start
from agent_framework_openai import OpenAIChatClient
import asyncio
-# Start aimock first: npx @copilotkit/aimock --fixtures ./fixtures
+# Start aimock first: npx -p @copilotkit/aimock llmock --fixtures ./fixtures
client = OpenAIChatClient(
model="gpt-4o",
base_url="http://localhost:4010/v1",
@@ -99,7 +99,7 @@ Quick Start
using Microsoft.Extensions.AI;
using OpenAI;
-// Start aimock first: npx @copilotkit/aimock --fixtures ./fixtures
+// Start aimock first: npx -p @copilotkit/aimock llmock --fixtures ./fixtures
var openaiClient = new OpenAIClient(
new ApiKeyCredential("test"),
new OpenAIClientOptions
@@ -574,7 +574,7 @@ Record & Replay
Record an agent session shell
# Start aimock in record mode — unmatched requests go to OpenAI
-npx @copilotkit/aimock --fixtures ./fixtures \
+npx -p @copilotkit/aimock llmock --fixtures ./fixtures \
--record \
--provider-openai https://api.openai.com
diff --git a/docs/integrate-pydanticai/index.html b/docs/integrate-pydanticai/index.html
index 77162d50..2890d3ae 100644
--- a/docs/integrate-pydanticai/index.html
+++ b/docs/integrate-pydanticai/index.html
@@ -82,7 +82,7 @@ Quick Start
Terminal shell
# Terminal 1 — start aimock
-npx @copilotkit/aimock --fixtures ./fixtures
+npx -p @copilotkit/aimock llmock --fixtures ./fixtures
# Terminal 2 — run the agent
python agent.py
diff --git a/docs/metrics/index.html b/docs/metrics/index.html
index 2f688432..525d68fb 100644
--- a/docs/metrics/index.html
+++ b/docs/metrics/index.html
@@ -80,7 +80,7 @@ Quick Start
Enable metrics shell
- $ npx @copilotkit/aimock --fixtures ./fixtures --metrics
+ $ npx -p @copilotkit/aimock llmock --fixtures ./fixtures --metrics
diff --git a/docs/speech/index.html b/docs/speech/index.html
index ea79ecb3..23a8c72c 100644
--- a/docs/speech/index.html
+++ b/docs/speech/index.html
@@ -203,7 +203,7 @@ Record & Replay
CLI sh
- npx @copilotkit/aimock --record --provider-openai https://api.openai.com
+ npx -p @copilotkit/aimock llmock --record --provider-openai https://api.openai.com
diff --git a/docs/transcription/index.html b/docs/transcription/index.html
index 36391ae2..bad71cf0 100644
--- a/docs/transcription/index.html
+++ b/docs/transcription/index.html
@@ -220,7 +220,7 @@ Record & Replay
CLI sh
- npx @copilotkit/aimock --record --provider-openai https://api.openai.com
+ npx -p @copilotkit/aimock llmock --record --provider-openai https://api.openai.com
diff --git a/docs/video/index.html b/docs/video/index.html
index 5fc11be7..45b33fe1 100644
--- a/docs/video/index.html
+++ b/docs/video/index.html
@@ -199,7 +199,7 @@ Record & Replay
CLI sh
- npx @copilotkit/aimock --record --provider-openai https://api.openai.com
+ npx -p @copilotkit/aimock llmock --record --provider-openai https://api.openai.com