Skip to content

Commit

Permalink
let initial inputs at least match one key for prompt. (#17)
Browse files Browse the repository at this point in the history
Signed-off-by: haoci <[email protected]>
Co-authored-by: haoci <[email protected]>
  • Loading branch information
cheehook and hckoay authored Dec 13, 2024
1 parent c2a6e70 commit e6c4229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app-backend/app_gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ async def handle_request(self, request: Request):
params[id]['max_new_tokens'] = params[id]['max_tokens']
llm_parameters = LLMParams(**params[id])
result_dict, runtime_graph = await self.megaservice.schedule(
initial_inputs={'text': prompt},
initial_inputs={'query':prompt, 'text': prompt},
llm_parameters=llm_parameters,
params=params,
)
Expand Down

0 comments on commit e6c4229

Please sign in to comment.