You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can email you next time I complete a pull request if you set up your email here!
Actions (click)
↻ Restart Sweep
❌ Unable to Complete PR
I'm sorry, but it looks like an error has occurred due to a planning failure. Feel free to add more details to the issue description so Sweep can better address it. Alternatively, reach out to Kevin or William for help at https://discord.gg/sweep.
For bonus GPT-4 tickets, please report this bug on Discord (tracking ID: 3e0d1ac776).
Please look at the generated plan. If something looks wrong, please add more details to your issue.
File Path
Proposed Changes
src/Cli/src/Commands/Auth/OpenAiCommand.cs
Modify src/Cli/src/Commands/Auth/OpenAiCommand.cs with contents: In the OpenAiCommand constructor, add a new Option for temperature after the modelOption:
```csharp var temperatureOption = new Option<double?>( aliases: ["--temperature", "-t"], getDefaultValue: () => null, description: "The temperature to use for OpenAI requests"); AddOption(temperatureOption); ```
Then update the SetHandler call to pass temperatureOption:
Modify src/Cli/src/Helpers.cs with contents: In the AuthenticateWithApiKeyAsync method, write the temperature value to a settings file after writing the model:
```csharp if (temperature.HasValue) { await File.WriteAllTextAsync(Path.Combine(settingsFolder, "temperature.txt"), temperature.Value.ToString()).ConfigureAwait(false); } ```
🎉 Latest improvements to Sweep:
New dashboard launched for real-time tracking of Sweep issues, covering all stages from search to coding.
Integration of OpenAI's latest Assistant API for more efficient and reliable code planning and editing, improving speed by 3x.
What would you like to be added:
Why is this needed:
Anything else we need to know?
Checklist
src/Cli/src/Commands/Auth/OpenAiCommand.cs
✓ 09d364b Editsrc/Cli/src/Commands/Auth/OpenAiCommand.cs
✓ 09d364b Editsrc/Providers/OpenAI/src/OpenAiConfiguration.cs
✓ 09d364b EditThe text was updated successfully, but these errors were encountered: