(self, prompt_plan: PromptPlan)
| 15703 | return prompt_text, PromptPlan.from_tokens(prompt_text, prompt_tokens) |
| 15704 | |
| 15705 | def prompt_visible_start(self, prompt_plan: PromptPlan) -> int: |
| 15706 | model = self.scheduler.model |
| 15707 | if prompt_plan.text_tokens and prompt_plan.text_tokens[0] == model.bos_token: |
| 15708 | return 1 |
| 15709 | return 0 |
| 15710 | |
| 15711 | def initial_prompt_records( |
| 15712 | self, |
no outgoing calls
no test coverage detected