Merge pull request #79 from devchat-ai/prompt-improvement
Make test case descriptions concise
This commit is contained in:
commit
9dead9b3cf
@ -16,7 +16,7 @@ from openai_util import create_chat_completion_content
|
||||
from tools.directory_viewer import ListViewer
|
||||
from tools.tiktoken_util import get_encoding
|
||||
|
||||
MODEL = USER_LLM_MODEL if USE_USER_MODEL else "gpt-4-turbo-preview"
|
||||
MODEL = USER_LLM_MODEL if USE_USER_MODEL else "gpt-4-turbo-preview" # "gpt-3.5-turbo"
|
||||
ENCODING = (
|
||||
get_encoding(DEFAULT_ENCODING) # Use default encoding as an approximation
|
||||
if USE_USER_MODEL
|
||||
|
@ -20,6 +20,7 @@ For each test case, provide a description that includes:
|
||||
- A brief explanation of the test's purpose
|
||||
- The specific conditions being tested.
|
||||
- The expected outcome the test is verifying.
|
||||
Each description should be a single sentence, as concise as possible.
|
||||
|
||||
Categorize each test case as:
|
||||
- 'happy path': Tests the function with typical inputs and standard conditions, ensuring it performs as expected in normal use.
|
||||
|
@ -16,7 +16,7 @@ from openai_util import create_chat_completion_content
|
||||
from prompts import PROPOSE_TEST_PROMPT
|
||||
from tools.tiktoken_util import get_encoding
|
||||
|
||||
MODEL = USER_LLM_MODEL if USE_USER_MODEL else "gpt-4-turbo-preview"
|
||||
MODEL = USER_LLM_MODEL if USE_USER_MODEL else "gpt-4-turbo-preview" # "gpt-3.5-turbo"
|
||||
ENCODING = (
|
||||
get_encoding(DEFAULT_ENCODING) # Use default encoding as an approximation
|
||||
if USE_USER_MODEL
|
||||
|
Loading…
x
Reference in New Issue
Block a user