mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
23 lines
827 B
JSON
23 lines
827 B
JSON
{
|
|
"fixtures": [
|
|
{
|
|
"match": { "userMessage": "Hello" },
|
|
"response": {
|
|
"content": "Hello! I'm your assistant. I can help you with weather information, proverbs, and more. What would you like to know?"
|
|
}
|
|
},
|
|
{
|
|
"match": { "toolCallName": "get_weather" },
|
|
"response": {
|
|
"content": "The weather for the requested location is 70 degrees and sunny."
|
|
}
|
|
},
|
|
{
|
|
"match": {},
|
|
"response": {
|
|
"content": "You're currently running against aimock (a mock LLM server). This response is a catch-all for requests that don't match any test fixture. To use a real LLM: (1) Add your OPENAI_API_KEY to .env, (2) Remove or unset OPENAI_BASE_URL from your environment so requests go to OpenAI instead of aimock, (3) Restart with `pnpm dev`."
|
|
}
|
|
}
|
|
]
|
|
}
|