fix: add model parameter to LlamaCppClient requests
This commit is contained in:
@@ -24,6 +24,7 @@ describe('LlamaCppClient', () => {
|
||||
|
||||
const client = new LlamaCppClient({
|
||||
endpoint: 'http://localhost:8080',
|
||||
model: 'test-model',
|
||||
});
|
||||
|
||||
const response = await client.chat({
|
||||
@@ -64,6 +65,7 @@ describe('LlamaCppClient', () => {
|
||||
|
||||
const client = new LlamaCppClient({
|
||||
endpoint: 'http://localhost:8080',
|
||||
model: 'test-model',
|
||||
});
|
||||
|
||||
const events: ChatStreamEvent[] = [];
|
||||
@@ -87,6 +89,7 @@ describe('LlamaCppClient', () => {
|
||||
|
||||
const client = new LlamaCppClient({
|
||||
endpoint: 'http://localhost:8080',
|
||||
model: 'test-model',
|
||||
});
|
||||
|
||||
await expect(client.chat({
|
||||
|
||||
Reference in New Issue
Block a user