添加修改模型请求头
This commit is contained in:
parent
406a36af89
commit
e726f11bad
9 changed files with 109 additions and 1 deletions
|
|
@ -95,6 +95,8 @@ def resolve_model(model_name):
|
|||
'api_key': m.get('api_key') or base_key,
|
||||
'custom_instructions': m.get('custom_instructions') or '',
|
||||
'instructions_position': m.get('instructions_position') or 'prepend',
|
||||
'body_modifications': m.get('body_modifications') or {},
|
||||
'header_modifications': m.get('header_modifications') or {},
|
||||
}
|
||||
|
||||
return {
|
||||
|
|
@ -104,6 +106,8 @@ def resolve_model(model_name):
|
|||
'api_key': base_key,
|
||||
'custom_instructions': '',
|
||||
'instructions_position': 'prepend',
|
||||
'body_modifications': {},
|
||||
'header_modifications': {},
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue