Open KfreeZ opened 4 days ago
@zhlsunshine @irisdingbj please be noted this issue, we need to solve this cc @daisy-ycguo
codegen is also wrong
$ cat gmc_codegen.log
{"detail":[{"type":"missing","loc":["body","query"],"msg":"Field required","input":{"messages":"def print_hello_world():"}
When the request
curl $accessUrl -X POST -d '{"language_from": "Golang","language_to": "Python","source_code": "package main\n\nimport \"fmt\"\nfunc main() {\n fmt.Println(\"Hello, World!\");\n}"}' -H 'Content-Type: application/json'
is sent to GMC router service, it is routed this request to llm-service/v1/chat/completion by GMC's router service.But the output is not expected as below: