wjx-xin
wjx-xin
This code runs correctly: ``` if love.keyboard.isDown("right") then player.x = player.x + 3 end ``` The following code does not taken effect: ``` if love.keyboard.isDown('d') then player.x = player.x +...
``` function love.keypressed(key, scancode, isrepeat) print(key) end ``` This code cannot detect the a~z letter keys. It can print the number keys and arrow keys.
When I run the program with the command "love", the input language setting changes, which results in the inability to detect letter key input. Thank you for your help.
> Could elaborate on what you want to do with custom calls and which LLM you want to use? LLM company provides their own web API, and I want to...
> @wjx-xin Yes, except instead of inheritance, you would implement this interface: https://github.com/tmc/langchaingo/blob/main/llms/llms.go#L15-L29 > > For example, the OpenAI client implementation of that interface: https://github.com/tmc/langchaingo/blob/main/llms/openai/openaillm.go#L47 Thank you. @erictse