-
-
Notifications
You must be signed in to change notification settings - Fork 382
feat(llms): add cli tools for llms #7461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 30 commits
ca95e1f
7f46647
1c289ee
22d5c39
ca50a4b
d270498
d80739b
e1ae93a
4cce1c4
c44e11f
d05e49f
2c2a21b
b44f47e
df7707f
ebe23bb
99741e8
9558688
073d26e
6cf4a8e
2d9cf90
5713f1c
113f1e2
7ec4e74
27a106a
44509c5
b6c9dd3
b2d0ee2
4a80d40
1ee4a4c
7d040c0
17bc3bf
d2da910
ee0c216
260b7fc
89f0100
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -123,3 +123,4 @@ Protocol | |
| vditor | ||
| alertdialog | ||
| blazorbootstrap | ||
| llms | ||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,9 @@ | ||||||||||||||||||||||||||||||
| <Project> | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| <Target Name="LLMs" AfterTargets="Build" Condition="'$(TargetFramework)' == '$(RunTargetFramework)'"> | ||||||||||||||||||||||||||||||
| <Message Text="LLMs documentation generating ..." Importance="high"></Message> | ||||||||||||||||||||||||||||||
| <Exec Command="dotnet tool restore"></Exec> | ||||||||||||||||||||||||||||||
|
Comment on lines
+3
to
+5
|
||||||||||||||||||||||||||||||
| <Target Name="LLMs" AfterTargets="Build" Condition="'$(TargetFramework)' == '$(RunTargetFramework)'"> | |
| <Message Text="LLMs documentation generating ..." Importance="high"></Message> | |
| <Exec Command="dotnet tool restore"></Exec> | |
| <PropertyGroup> | |
| <!-- Set to true to restore local .NET tools explicitly when needed --> | |
| <RestoreDotNetTools>false</RestoreDotNetTools> | |
| </PropertyGroup> | |
| <Target Name="RestoreDotNetToolsTarget" Condition="'$(RestoreDotNetTools)' == 'true'"> | |
| <Exec Command="dotnet tool restore"></Exec> | |
| </Target> | |
| <Target Name="LLMs" AfterTargets="Build" Condition="'$(TargetFramework)' == '$(RunTargetFramework)'"> | |
| <Message Text="LLMs documentation generating ..." Importance="high"></Message> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The LLMs target runs after every build when the TargetFramework matches RunTargetFramework. This means the documentation generation will execute on every build, even for incremental builds during development. Consider adding a condition to skip this in development environments or making it opt-in via a build property (e.g., Condition="'$(GenerateLlmsDocs)' == 'true'"), to avoid impacting build performance during routine development.