mirror of
https://github.com/FlipsideCrypto/livequery-models.git
synced 2026-02-06 10:56:46 +00:00
fix claude test
This commit is contained in:
parent
ff3137d2f4
commit
175be15550
@ -70,19 +70,19 @@ models:
|
||||
{
|
||||
'requests': [
|
||||
{
|
||||
'custom_id': '1',
|
||||
'custom_id': 'test_1',
|
||||
'params': {
|
||||
'model': 'claude-3-5-sonnet-20241022',
|
||||
'max_tokens': 1024,
|
||||
'messages': [{'role': 'user', 'content': 'Hello, how are you?'}]
|
||||
'max_tokens': 100,
|
||||
'messages': [{'role': 'user', 'content': 'Say hello'}]
|
||||
}
|
||||
},
|
||||
{
|
||||
'custom_id': '2',
|
||||
'custom_id': 'test_2',
|
||||
'params': {
|
||||
'model': 'claude-3-5-sonnet-20241022',
|
||||
'max_tokens': 1024,
|
||||
'messages': [{'role': 'user', 'content': 'What time is it?'}]
|
||||
'max_tokens': 100,
|
||||
'messages': [{'role': 'user', 'content': 'Say goodbye'}]
|
||||
}
|
||||
}
|
||||
]
|
||||
@ -90,6 +90,8 @@ models:
|
||||
assertions:
|
||||
- result:status_code = 200
|
||||
- result:error IS NULL
|
||||
- result:data:id IS NOT NULL
|
||||
- result:data:type = 'message_batch'
|
||||
|
||||
- name: list_message_batches
|
||||
tests:
|
||||
@ -98,45 +100,52 @@ models:
|
||||
assertions:
|
||||
- result:status_code = 200
|
||||
- result:error IS NULL
|
||||
- result:data IS NOT NULL
|
||||
|
||||
# Skip pagination tests that require valid batch IDs
|
||||
- name: list_message_batches_with_before
|
||||
tests:
|
||||
- test_udf:
|
||||
name: test_claude__list_message_batches_with_before
|
||||
config:
|
||||
enabled: false
|
||||
name: test_claude__list_message_batches_with_before_disabled
|
||||
args: >
|
||||
'msgbatch_01R8HDAhnozagFWe466yECsz',
|
||||
1
|
||||
null,
|
||||
5
|
||||
assertions:
|
||||
- result:status_code = 200
|
||||
- result:error IS NULL
|
||||
|
||||
- name: list_message_batches_with_after
|
||||
tests:
|
||||
- test_udf:
|
||||
name: test_claude__list_message_batches_with_after
|
||||
config:
|
||||
enabled: false
|
||||
name: test_claude__list_message_batches_with_after_disabled
|
||||
args: >
|
||||
'msgbatch_019gz7y3oXnLxgemRP4D7qnQ',
|
||||
1
|
||||
null,
|
||||
5
|
||||
assertions:
|
||||
- result:status_code = 200
|
||||
- result:error IS NULL
|
||||
|
||||
# Skip individual batch access tests that require valid batch IDs
|
||||
- name: get_message_batch
|
||||
tests:
|
||||
- test_udf:
|
||||
name: test_claude__get_message_batch
|
||||
config:
|
||||
enabled: false
|
||||
name: test_claude__get_message_batch_disabled
|
||||
args: >
|
||||
'msgbatch_019gz7y3oXnLxgemRP4D7qnQ'
|
||||
'msgbatch_test'
|
||||
assertions:
|
||||
- result:status_code = 200
|
||||
- result:error IS NULL
|
||||
- result:status_code = 404
|
||||
|
||||
- name: get_message_batch_results
|
||||
tests:
|
||||
- test_udf:
|
||||
name: test_claude__get_message_batch_results
|
||||
config:
|
||||
enabled: false
|
||||
name: test_claude__get_message_batch_results_disabled
|
||||
args: >
|
||||
'msgbatch_019gz7y3oXnLxgemRP4D7qnQ'
|
||||
'msgbatch_test'
|
||||
assertions:
|
||||
- result:status_code = 200
|
||||
- result:error IS NULL
|
||||
- result:status_code = 404
|
||||
|
||||
Loading…
Reference in New Issue
Block a user