-
-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Refactored OpenRouter generator tool.
- Loading branch information
Showing
14 changed files
with
986 additions
and
1,373 deletions.
There are no files selected for viewing
1,493 changes: 677 additions & 816 deletions
1,493
src/Providers/OpenRouter/src/OpenRouterModelIds.cs
Large diffs are not rendered by default.
Oops, something went wrong.
262 changes: 125 additions & 137 deletions
262
src/Providers/OpenRouter/src/OpenRouterModelProvider.cs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
...s/OpenRouter/tools/LangChain.Providers.OpenRouter.CodeGenerator/Main/GenerationOptions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace LangChain.Providers.OpenRouter.CodeGenerator.Main; | ||
|
||
public class GenerationOptions | ||
{ | ||
public string OutputFolder { get; set; } = "Generated"; | ||
public Func<string, string, string, string>? ReplaceEnumNameFunc { get; set; } | ||
} |
Oops, something went wrong.