{
"model": "codegeex4-all-9b",
"max_tokens": 128,
"temperature": 0.7,
"prompt": "<|user|>\\n###PATH:src.vue\\n###LANGUAGE:Java\\n###MODE:BLOCK\\n<|code_suffix|>provide() {\\n return {\\n reload: this.reload\\n }\\n },\\n data() {\\n return {\\n style: '',\\n IsRouterAlive: true\\n }\\n },\\n // created() {\\n // if (process.env.VUE_APP_SSO === \"true\") {\\n // console.log(\"=========********\")\\n // pullCookie()\\n // }\\n // },\\n methods: {\\n reload() {\\n this.IsRouterAlive = false\\n this.$nextTick(() => {\\n this.IsRouterAlive = true\\n })\\n }\\n }\\n}<|code_prefix|><template>\\n <div id=\"app\">\\n <router-view v-if=\"IsRouterAlive\" />\\n </div>\\n</template>\\n\\n<script>\\nexport default {\\n name: 'App',<|code_middle|><|assistant|>\\n"
}
curl --location --request POST 'https://u428721-8ed2-b7a87579.westb.seetacloud.com:8443/v1/completions' \
--header 'Authorization: Bearer sk-1qaz2wsx3edc' \
--header 'Accept: text/event-stream' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "codegeex4-all-9b",
"max_tokens": 128,
"temperature": 0.7,
"prompt": "<|user|>\\n###PATH:src.vue\\n###LANGUAGE:Java\\n###MODE:BLOCK\\n<|code_suffix|>provide() {\\n return {\\n reload: this.reload\\n }\\n },\\n data() {\\n return {\\n style: '\'''\'',\\n IsRouterAlive: true\\n }\\n },\\n // created() {\\n // if (process.env.VUE_APP_SSO === \"true\") {\\n // console.log(\"=========********\")\\n // pullCookie()\\n // }\\n // },\\n methods: {\\n reload() {\\n this.IsRouterAlive = false\\n this.$nextTick(() => {\\n this.IsRouterAlive = true\\n })\\n }\\n }\\n}<|code_prefix|><template>\\n <div id=\"app\">\\n <router-view v-if=\"IsRouterAlive\" />\\n </div>\\n</template>\\n\\n<script>\\nexport default {\\n name: '\''App'\'',<|code_middle|><|assistant|>\\n"
}'