ValueError: 没有传入有效的完成模型参数 - {'model': 'GPT-4o'}
我昨晚下载了代码,但我收到了以下错误: 239 │ else: ││ 240 │ logging(model=model, input=messages, Azure=Azure, logger_fn=logger_fn) ││ 241 │ args = locals() ││ ❱ 242 │ raise ValueError(f"No valid completion model args passed in - {args}") ││ 243 │ return response ││ 244 except Exception as e: ││ 245 │ # log the original exception ││ ││ ╭───────────────────────────────────────────────────────────────────────── locals ─────────────────────────────────────────────────────────────────────────╮ ││ │ args = { │ ││ │ │ 'model': 'GPT-4o', │ ││ │ │ 'messages': [ │ ││ │ │ │ { │ ││ │ │ │ │ 'role': 'user', │ ││ │ │ │ │ 'content': 'The following prompt is a composition of prompt sections, each with different pr'+2798 │ ││ │ │ │ } │ ││ │ │ ], │ ││ │ │ 'functions': [], │ ││ │ │ 'function_call': '', …
内容来源: joshpxyne/gpt-migrate