Skip to content

Commit 607e01e

Browse files
authored
Merge branch 'ikawrakow:main' into main
2 parents 758a987 + 10929e6 commit 607e01e

File tree

654 files changed

+6981
-10
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

654 files changed

+6981
-10
lines changed

AUTHORS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ Stanisław Szymczyk <[email protected]>
66
77
Andrew Chan <[email protected]>
88
firecoperana <[email protected]>
9+
Anton Sokolchenko <[email protected]>
10+

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,6 +1087,7 @@ ggml/src/iqk/iqk_mul_mat.o: \
10871087
$(CXX) $(CXXFLAGS) -c $< -o $@
10881088
endif # GGML_NO_IQKMULMAT
10891089

1090+
10901091
ifndef GGML_NO_LLAMAFILE
10911092
ggml/src/llamafile/sgemm.o: \
10921093
ggml/src/llamafile/sgemm.cpp \

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,20 @@ There is no single point of reference describing all new `ik_llama.cpp` features
104104
* [This discussion](https://github.com/ikawrakow/ik_llama.cpp/discussions/266) is about running DeepSeek-V3/R1 on a 16 x 3090 setup
105105
* [This discussion](https://github.com/ikawrakow/ik_llama.cpp/discussions/8) describes the new quantization types available in `ik_llama.cpp`
106106

107+
## Testing
108+
109+
### Function Calls Tests
110+
111+
To run the function calls test suite:
112+
113+
```bash
114+
cd build
115+
cmake --build . --target test-function-calls
116+
./bin/test-function-calls
117+
```
118+
119+
The test suite covers parser functionality, streaming, error handling, content cleaning, and server integration. All tests should pass to ensure production readiness.
120+
107121
## Contributing
108122

109123
Contributions in form of pull requests, issue submissions (bug reports, feature requests), or general discussions, are welcome.

common/CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,14 @@ add_library(${TARGET} STATIC
5454
base64.hpp
5555
common.h
5656
common.cpp
57+
chat.h
58+
chat.cpp
59+
chat-parser.h
60+
chat-parser.cpp
61+
json-partial.h
62+
json-partial.cpp
63+
regex-partial.h
64+
regex-partial.cpp
5765
sampling.h
5866
sampling.cpp
5967
console.h

0 commit comments

Comments
 (0)