Skip to content

Commit 744b784

Browse files
committed
test: restore RerankingModelTest, annotate ChatExample with @ignore
- RerankingModelTest: remove @ignore — tests should run normally. - ChatExample: add @ignore with a comment noting the model file (models/codellama-7b.Q2_K.gguf) is not available in the models directory. https://claude.ai/code/session_016atM3vkBsmaia7QGXKex8w
1 parent c56ea40 commit 744b784

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/test/java/de/kherud/llama/RerankingModelTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@
66
import org.junit.AfterClass;
77
import org.junit.Assert;
88
import org.junit.BeforeClass;
9-
import org.junit.Ignore;
109
import org.junit.Test;
1110

12-
@Ignore
1311
public class RerankingModelTest {
1412

1513
private static LlamaModel model;

src/test/java/examples/ChatExample.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
import java.util.ArrayList;
1212
import java.util.List;
1313

14+
import org.junit.Ignore;
15+
16+
// Model file (models/codellama-7b.Q2_K.gguf) is not available in the models directory
17+
@Ignore
1418
public class ChatExample {
1519

1620
public static void main(String... args) throws Exception {

0 commit comments

Comments
 (0)