This commit is contained in:
string 2025-05-24 15:46:57 +05:30
parent 3757f3d24a
commit f51639547a
2 changed files with 8 additions and 9 deletions

View File

@ -8,8 +8,8 @@ import { environment } from 'src/environments/environment';
})
export class SiteTreeservice {
private baseURL = "SiteTree/SiteTree";
private dlfbaseURL = environment.builderUrl + "/entityBuilder";
private nodeURL = environment.nodeUrl;
private dlfbaseURL = environment.nodeUrl + "/entityBuilder";
private llmURL = environment.nodeUrl + "/llm";
private geminiURL = environment.ollamaUrl;
@ -55,11 +55,11 @@ export class SiteTreeservice {
}
callLlm(data: any): Observable<any> {
return this.http.post(`${this.nodeURL}/chatMemory`, data);
return this.http.post(`${this.llmURL}/chatMemory`, data);
}
callGemini(data: any): Observable<any> {
return this.http.post(`${this.geminiURL}/api/gemini`, data);
return this.http.post(`${this.llmURL}/api/gemini`, data);
}

View File

@ -10,10 +10,9 @@ export const environment = {
// changeblelocal configs url
captchaSiteKey: '6LfrdSUpAAAAALkYDmnvdX3GLLCArgPWNHfXasjP',
// backport:'31701/visaproject36808/back',
// backendUrl: 'http://localhost:9292/back',
nodeUrl:'http://157.66.191.31:31170/llm',
builderUrl:'http://157.66.191.31:31170',
ollamaUrl: 'http://localhost:8080/llm',
nodeUrl: 'http://157.66.191.31:31170',
backendUrl: 'http://157.66.191.31:30101/back',