Skip to content

fix: multi turn convo #56

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 39 additions & 42 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions llm/Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ for module in ${modules}
rm -r ${module}/wit/deps
mkdir ${module}/wit/deps/golem-llm
cp wit/golem-llm.wit ${module}/wit/deps/golem-llm/golem-llm.wit
cp wit/deps/wasi:io ${module}/wit/deps
cp wit/deps/io ${module}/wit/deps

echo "Copied WIT for module llm::${module}"
end
Expand All @@ -179,10 +179,10 @@ rm -r ../test/wit
mkdir ../test/wit/deps/golem-llm
mkdir ../test/wit/deps/io
cp wit/golem-llm.wit ../test/wit/deps/golem-llm/golem-llm.wit
cp wit/deps/wasi:io/error.wit ../test/wit/deps/io/error.wit
cp wit/deps/wasi:io/poll.wit ../test/wit/deps/io/poll.wit
cp wit/deps/wasi:io/streams.wit ../test/wit/deps/io/streams.wit
cp wit/deps/wasi:io/world.wit ../test/wit/deps/io/world.wit
cp wit/deps/io/error.wit ../test/wit/deps/io/error.wit
cp wit/deps/io/poll.wit ../test/wit/deps/io/poll.wit
cp wit/deps/io/streams.wit ../test/wit/deps/io/streams.wit
cp wit/deps/io/world.wit ../test/wit/deps/io/world.wit

echo "Copied WIT for module test"
"""
Expand Down
2 changes: 1 addition & 1 deletion llm/anthropic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ path = "wit"

[package.metadata.component.target.dependencies]
"golem:llm" = { path = "wit/deps/golem-llm" }
"wasi:io" = { path = "wit/deps/wasi:io" }
"wasi:io" = { path = "wit/deps/io" }
2 changes: 1 addition & 1 deletion llm/anthropic/src/bindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ ng-get-next\x01B\x01p\x15\x01@\x02\x08messages\xc3\0\x06config)\06\x04\0\x04send
\0\x06config)\06\x04\0\x08continue\x01G\x01i=\x01@\x02\x08messages\xc3\0\x06conf\
ig)\0\xc8\0\x04\0\x06stream\x01I\x04\0\x13golem:llm/llm@1.0.0\x05\0\x04\0%golem:\
llm-anthropic/llm-library@1.0.0\x04\0\x0b\x11\x01\0\x0bllm-library\x03\0\0\0G\x09\
producers\x01\x0cprocessed-by\x02\x0dwit-component\x070.220.0\x10wit-bindgen-rus\
producers\x01\x0cprocessed-by\x02\x0dwit-component\x070.220.1\x10wit-bindgen-rus\
t\x060.36.0";
#[inline(never)]
#[doc(hidden)]
Expand Down
2 changes: 1 addition & 1 deletion llm/grok/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ path = "wit"

[package.metadata.component.target.dependencies]
"golem:llm" = { path = "wit/deps/golem-llm" }
"wasi:io" = { path = "wit/deps/wasi:io" }
"wasi:io" = { path = "wit/deps/io" }
2 changes: 1 addition & 1 deletion llm/grok/src/bindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ ng-get-next\x01B\x01p\x15\x01@\x02\x08messages\xc3\0\x06config)\06\x04\0\x04send
\0\x06config)\06\x04\0\x08continue\x01G\x01i=\x01@\x02\x08messages\xc3\0\x06conf\
ig)\0\xc8\0\x04\0\x06stream\x01I\x04\0\x13golem:llm/llm@1.0.0\x05\0\x04\0\x20gol\
em:llm-grok/llm-library@1.0.0\x04\0\x0b\x11\x01\0\x0bllm-library\x03\0\0\0G\x09p\
roducers\x01\x0cprocessed-by\x02\x0dwit-component\x070.220.0\x10wit-bindgen-rust\
roducers\x01\x0cprocessed-by\x02\x0dwit-component\x070.220.1\x10wit-bindgen-rust\
\x060.36.0";
#[inline(never)]
#[doc(hidden)]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion llm/ollama/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ path = "wit"

[package.metadata.component.target.dependencies]
"golem:llm" = { path = "wit/deps/golem-llm" }
"wasi:io" = { path = "wit/deps/wasi:io" }
"wasi:io" = { path = "wit/deps/io" }
2 changes: 1 addition & 1 deletion llm/ollama/src/bindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ ng-get-next\x01B\x01p\x15\x01@\x02\x08messages\xc3\0\x06config)\06\x04\0\x04send
\0\x06config)\06\x04\0\x08continue\x01G\x01i=\x01@\x02\x08messages\xc3\0\x06conf\
ig)\0\xc8\0\x04\0\x06stream\x01I\x04\0\x13golem:llm/llm@1.0.0\x05\0\x04\0\"golem\
:llm-ollama/llm-library@1.0.0\x04\0\x0b\x11\x01\0\x0bllm-library\x03\0\0\0G\x09p\
roducers\x01\x0cprocessed-by\x02\x0dwit-component\x070.220.0\x10wit-bindgen-rust\
roducers\x01\x0cprocessed-by\x02\x0dwit-component\x070.220.1\x10wit-bindgen-rust\
\x060.36.0";
#[inline(never)]
#[doc(hidden)]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion llm/openai/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ path = "wit"

[package.metadata.component.target.dependencies]
"golem:llm" = { path = "wit/deps/golem-llm" }
"wasi:io" = { path = "wit/deps/wasi:io" }
"wasi:io" = { path = "wit/deps/io" }
2 changes: 1 addition & 1 deletion llm/openai/src/bindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ ng-get-next\x01B\x01p\x15\x01@\x02\x08messages\xc3\0\x06config)\06\x04\0\x04send
\0\x06config)\06\x04\0\x08continue\x01G\x01i=\x01@\x02\x08messages\xc3\0\x06conf\
ig)\0\xc8\0\x04\0\x06stream\x01I\x04\0\x13golem:llm/llm@1.0.0\x05\0\x04\0\"golem\
:llm-openai/llm-library@1.0.0\x04\0\x0b\x11\x01\0\x0bllm-library\x03\0\0\0G\x09p\
roducers\x01\x0cprocessed-by\x02\x0dwit-component\x070.220.0\x10wit-bindgen-rust\
roducers\x01\x0cprocessed-by\x02\x0dwit-component\x070.220.1\x10wit-bindgen-rust\
\x060.36.0";
#[inline(never)]
#[doc(hidden)]
Expand Down
Loading