Skip to content

Commit

Permalink
update prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
JiaHuann committed Jan 7, 2025
1 parent 06fe7ff commit e0e174f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/server/config/prompt.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def get_user_prompt(function_string: str) -> str:
2.该函数的错误返回值仅为-XXX(如-EIO、-ENOMEM等)、或true/false
3.该函数不准存在NULL错误返回值。(必须)
4.该函数不准存在<errno.h>以外的任何返回值(必须)
5.该函数不为no trace类型函数
同时告诉我:可能的返回值以及你给出这些错误值的原因,格式如下:
[
Expand Down
2 changes: 1 addition & 1 deletion src/server/controller/generateController.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def __init__(self):
def get_output(self, function_string: str) -> FunctionOutput:
# [WIP] 这里链接会不会中断?评估一下@zjh
response = self.client.chat.completions.create(
model="deepseek-coder",
model="deepseek-chat",
messages=[
{
"role": "system",
Expand Down

0 comments on commit e0e174f

Please sign in to comment.