File tree Expand file tree Collapse file tree
service-go/wit/deps/example-domain-0.3.0 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ build-compose: ## Compose the microservice app with the constituent components.
3535.PHONY : run
3636run : # # Run the microservice app after build.
3737 $(info "Running Component Application Using Wasmtime...")
38- wasmtime serve -S cli $(COMPOSED_COMPONENT_PATH )
38+ wasmtime serve -S cli --env OPENAI_API_KEY= " $$ {OPENAI_API_KEY} " $(COMPOSED_COMPONENT_PATH )
3939
4040.PHONY : build-and-run
4141build-and-run : build run # # Build and run the microservice app.
Original file line number Diff line number Diff line change @@ -45,19 +45,9 @@ interface chat {
4545 chat : func (request : chat-request ) -> result <chat-response , error >;
4646}
4747
48- <<<<<<< HEAD
49- world math {
50- export adder ;
51- =======
5248world service {
5349 import types ;
5450
5551 export adder ;
56- export chat ;
57- >>>>>>> 8088dd8 (openai chat completion is working)
58- }
59- world ai {
60- import types ;
61-
6252 export chat ;
6353}
You can’t perform that action at this time.
0 commit comments