MCPcopy Index your code
hub / github.com/AutoForgeAI/autoforge / updateProjectPrompts

Function updateProjectPrompts

ui/src/lib/api.ts:94–102  ·  view source on GitHub ↗
(
  name: string,
  prompts: Partial<ProjectPrompts>
)

Source from the content-addressed store, hash-verified

92}
93
94export async function updateProjectPrompts(
95 name: string,
96 prompts: Partial<ProjectPrompts>
97): Promise<void> {
98 await fetchJSON(`/projects/${encodeURIComponent(name)}/prompts`, {
99 method: 'PUT',
100 body: JSON.stringify(prompts),
101 })
102}
103
104export async function updateProjectSettings(
105 name: string,

Callers

nothing calls this directly

Calls 1

fetchJSONFunction · 0.85

Tested by

no test coverage detected