Function
cli
(
model, prompt, har_path, cookie_path, max_steps, input_variables, generate_code
)
Source from the content-addressed store, hash-verified
| 38 | help="Whether to generate the full integration code", |
| 39 | ) |
| 40 | def cli( |
| 41 | model, prompt, har_path, cookie_path, max_steps, input_variables, generate_code |
| 42 | ): |
| 43 | input_vars = dict(input_variables) |
| 44 | asyncio.run( |
| 45 | call_agent( |
| 46 | model, |
| 47 | prompt, |
| 48 | har_path, |
| 49 | cookie_path, |
| 50 | input_variables=input_vars, |
| 51 | max_steps=max_steps, |
| 52 | to_generate_code=generate_code, |
| 53 | ) |
| 54 | ) |
| 55 | |
| 56 | if __name__ == "__main__": |
| 57 | cli() |
Tested by
no test coverage detected