mirror of
https://github.com/katanemo/plano.git
synced 2026-07-14 16:22:12 +02:00
Merge branch 'adil/add_in_path_support' into adil/update_getting_started_guide
This commit is contained in:
commit
1a352166d8
7 changed files with 150 additions and 4 deletions
|
|
@ -92,6 +92,8 @@ properties:
|
|||
type: array
|
||||
items:
|
||||
type: string
|
||||
in_path:
|
||||
type: boolean
|
||||
additionalProperties: false
|
||||
required:
|
||||
- name
|
||||
|
|
@ -108,6 +110,11 @@ properties:
|
|||
required:
|
||||
- name
|
||||
- path
|
||||
http_method:
|
||||
type: string
|
||||
enum:
|
||||
- GET
|
||||
- POST
|
||||
system_prompt:
|
||||
type: string
|
||||
additionalProperties: false
|
||||
|
|
|
|||
|
|
@ -49,7 +49,9 @@ def validate_and_render_schema():
|
|||
|
||||
if "prompt_targets" in config_yaml:
|
||||
for prompt_target in config_yaml["prompt_targets"]:
|
||||
name = prompt_target.get("endpoint", {}).get("name", "")
|
||||
name = prompt_target.get("endpoint", {}).get("name", None)
|
||||
if not name:
|
||||
continue
|
||||
if name not in inferred_clusters:
|
||||
inferred_clusters[name] = {
|
||||
"name": name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue