Fix: config & ds prompt
This commit is contained in:
		| @@ -20,8 +20,8 @@ type ServerConfig struct { | ||||
| } | ||||
|  | ||||
| type LLMConfig struct { | ||||
| 	URL   string `toml:"LLM_URL"` | ||||
| 	TOKEN string `toml:"LLM_TOKEN"` | ||||
| 	URL   string `toml:"URL"` | ||||
| 	TOKEN string `toml:"TOKEN"` | ||||
| } | ||||
|  | ||||
| func LoadConfigOrDefault(fn string) *Config { | ||||
| @@ -38,5 +38,6 @@ func LoadConfigOrDefault(fn string) *Config { | ||||
| 		config.ServerConfig.Host = "localhost" | ||||
| 		config.ServerConfig.Port = "3000" | ||||
| 	} | ||||
| 	// fmt.Printf("config debug; config.LLMConfig.URL: %s\n", config.LLMConfig.URL) | ||||
| 	return config | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Grail Finder
					Grail Finder