mirror of
https://github.com/katanemo/plano.git
synced 2026-06-23 15:38:07 +02:00
fix more
This commit is contained in:
parent
31c21a5491
commit
d994a4c8f5
4 changed files with 9 additions and 9 deletions
|
|
@ -15,14 +15,14 @@ llm_providers:
|
|||
name: openai/gpt-4o
|
||||
provider_interface: openai
|
||||
routing_preferences:
|
||||
- description: b
|
||||
name: code understanding
|
||||
- description: generating new code snippets, functions, or boilerplate based on user prompts or requirements
|
||||
name: code generation
|
||||
- access_key: $OPENAI_API_KEY
|
||||
model: gpt-4.1
|
||||
name: openai/gpt-4.1
|
||||
provider_interface: openai
|
||||
routing_preferences:
|
||||
- description: a
|
||||
- description: understand and explain existing code snippets, functions, or libraries
|
||||
name: code understanding
|
||||
tracing:
|
||||
random_sampling: 100
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ Content-Type: application/json
|
|||
HTTP 200
|
||||
[Asserts]
|
||||
header "content-type" == "application/json"
|
||||
jsonpath "$.model" matches /^gpt-4o-mini/
|
||||
jsonpath "$.model" matches /^gpt-4.1/
|
||||
jsonpath "$.usage" != null
|
||||
jsonpath "$.choices[0].message.content" != null
|
||||
jsonpath "$.choices[0].message.role" == "assistant"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue